Visit Mozilla.org

CSS::before

From MDC

« CSS « CSS Reference

This definition may need some work.

[edit] Summary

Creates a pseudo-element that is the first child of the the element matched. Typically used to add cosmetic content to an element. This element is inline by default.

[edit] Syntaxis

[edit] Examples

blockquote:before { content: '"'; }

<blockquote>
  "Some Quote
</blockquote>

[edit] Specifications

[edit] Browser compatibility

Browser Lowest Version
Internet Explorer no
Firefox 1.5?
Netscape no
Opera 7?