Property | Description | Possible Values | Examples |
---|---|---|---|
content | Generates content in the document in conjunction with the :before and :afterpseudo-elements. | String values, URL values, and predefined value formats: counter(name) | div:before { content:"some text"; } div:after { content:url(page2.html); } |
counter-increment | Declares the counter increment for each instance of a selector. | Integers and the predefined value none. | More Information |
counter-reset | Declares the value the counter is set to on each instance of a selector. | Integers and the predefined value none. | More Information |
quotes | Declares the type of quotation marks to use for quotations and embedded quotations. | String values and the predefined value none. | More Information |
List Properties
Property | Description | Possible Values | Examples |
---|---|---|---|
list-style-type | Declares the type of list marker used. | disc circle square decimal decimal-leading-zero lower-roman upper-roman lower-alpha upper-alpha lower-greek lower-latin upper-latin hebrew armenian georgian cjk-ideographic hiragana katakana hiragana-iroha katakana-iroha | ol { list-style-type:upper-roman; } ul { list-style-type:square; } |
list-style-position | Declares the position of the list marker. | inside outside | ol { list-style-position:inside; } ul { list-style-position:outside; } |
list-style-image | Declares an image to be used as the list marker. | URL values. | ul { list-style-image:url(image.jpg); } |
list-style | Shorthand property to declare three list properties at once. | Separate values by a space in the following order (those that are not defined will use inherited or default initial values): list-style-type | ul { list-style:disc inside url(image.gif); } ol { list-style:upper-roman outside; } |
marker-offset | Declares the marker offset for elements with a value of markerset for the display property. | Lengths and the predefined value auto. | li:before { display:marker; marker-offset:5px; } |