O'Reilly logo

Sams Teach Yourself SVG in 24 Hours by Micah Laaker

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

Hour 6. Styling SVG

Leaving shapes as their default solid black objects is rarely the designer's intent. To solve this issue, you will need to apply style to your elements. Style allows a developer to add a variety of display properties to an element, thus massaging its default appearance to look as the designer intended.

In this hour, you will learn the following:

  • The syntax and application of the style attribute

  • How to create a style sheet

  • The difference between internal and external style sheets

  • How to organize your style sheet

By the time you finish this chapter, you will be able to move towards applying fills and strokes to your artwork (Hour 7). However, without the ability to apply style to your creation, any such beautifications would become ...

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