Description

Used with the :before and :after pseudo-elements to generate content.

See:

  • Clearfix
  • counter-increment
  • :after
  • :before
  • Live Example
    Play with the code in the textarea below.

    Values
    normal | none | [ <string> | <uri> | <counter> | attr(<identifier>) | open-quote | close-quote | no-open-quote | no-close-quote
    Default value
    ""
    Introduced in CSS version
    2.1
    Applies to elements
    :before and :after pseudo-elements
    Inherited
    No
    Browser Support
    BrowsersIEFirefoxSafariOperaChrome
    Versions81unknown61
    Belongs to:

    See the full list CSS properties and browser support: CSS Properties