Graphics Programs Reference
In-Depth Information
10. Choose Select > Deselect, and then choose File > Save.
Working with character styles and CSS code
Illustrator will create CSS styles based on text formatting, as well. Formatting, such as font
family, font size, leading (called line-height in CSS), color, kerning and tracking (collect-
ively called letter-spacing in CSS), and more, can be captured in the CSS code. Any char-
acter styles that are applied to text in your design are listed in the CSS Properties panel as a
CSS style and have the same name as the character style. Text that has formatting applied,
without a character style applied, will have a generic CSS style name when Illustrator gen-
erates the style.
Next, you will create and then apply a character style to text.
Note
Currently, paragraph styles are not taken into account when naming styles
in the CSS code that is generated.
1. In the CSS Properties panel, notice the style named [Normal Character Style], to-
ward the top of the panel.
In the CSS Properties panel, only character styles that are applied to text appear.
The Normal Character Style is applied to text by default, so it appears in the panel.
Search WWH ::




Custom Search