Pseudo-element: before

Support Key: [CSS2] [N6|O4]
Other CSS
Pseudo-Elements

after
first-letter
first-line
= Index DOT Css by Brian Wilson =
Main Index | Property Index | CSS Support History | Browser History



   Quick Statistics   
Applicable Elements:
All
HTML Equivalent:
NA
What is it?
The :before pseudo-element specifies generated content that will occur before an element's document tree content (there is also a companion :after Pseudo-element for placing generated content after an element.) This Pseudo-element is used in conjunction with the 'content' property to specify what is to be inserted. Generated content is not a new concept - it already plays an important role in the list mechanisms of HTML; in CSS it has the potential to be very useful in Aural and other rendering media as well.

There are several rules governing the behavior of generated content and :Before Pseudo-elements:
Example
Ext/Doc: em:before { content: url("ding.wav") }
In-Line:  NA
Notes Browser Peculiarities

Boring Copyright Stuff....