• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

CSS Properties

The examples of styles in this chapter included basic fill and stroke properties. Table 8-1 lists properties used to create styles within a style sheet. This table is adapted from the W3C's listing at http://www.w3.org/TR/SVG/styling.html.

Table 8-1. CSS Properties for Use in Styles
PROPERTY TYPEPROPERTY
Color and Painting Properties  
 color-interpolation
 color-interpolation-filters
 color-profile
 color-rendering
 fill
 fill-opacity
 fill-rule
 image-rendering
 marker
 marker-end
 marker-mid
 marker-start
 shape-rendering
 stroke
 stroke-dasharray
 stroke-dashoffset
 stroke-linecap
 stroke-linejoin
 stroke-mitre limit
 stroke-opacity
 stroke-width
 text-rendering
Clipping and Masking Properties  
 clip-path
 clip-rule
 mask
 opacity
Filter Effects Properties  
 enable-background
 filter
 flood-color
 flood-opacity
 lighting-color
Gradient Properties  
 stop-color
 stop-opacity
Text Properties  
 alignment-baseline
 baseline-shift
 direction
 dominant-baseline
 glyph-orientation-horizontal
 glyph-orientation-vertical
 kerning
 letter-spacing
 text-decoration
 text-anchor
 unicode-bidi
 word-spacing
 writing-mode
Font Properties  
 font
 font-family
 font-size
 font-size-adjust
 font-stretch
 font-style
 font-variant
 font-weight
Interactivity Properties  
 pointer-events



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint