:before & :after on some elements

On block elements:

Test legend
Test dt
Test dd

Test line

Some centered text (invalid in strict mode, I know ;-)

On inline elements:

This line has some elements in it. All of these have the styles applied.

On 'empty' elements (no content, so shouldn't work):

On <input>:

On <hr>:

On <br>:


On <img>:

Take back the web

Home - More stuff