O'Reilly logo

Web Programming with Dart by Patricia Juberias, Moises Belchin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 26

image

Integrating Dart and CSS

In this chapter we’ll cover CSS and how you can work with CSS from Dart. We’ll see how we can manipulate the style properties of an element and how we can add or remove CSS classes to an element. Later we’ll see how to combine this with event handlers to change the appearance of an element when an event occurs. At the end of the chapter we’ll show you how to create visual effects in your Dart applications, integrating CSS with Dart.

For a long time, development was limited to creating HTML documents composed with HTML tags and some JavaScript scripts and styles, often inside the HTML elements, to change their ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required