HTML and CSS Reference
In-Depth Information
Nicolas Gallagher used pseudo-elements to create 84 GUI icons created from
semantic HTML.
To complement this exposure (and take advantage of a growing trend), I've
put together what I hope is a fairly comprehensive run-down of pseudo-
elements. This article is aimed primarily at those of you who have seen
some of the cool things done with pseudo-elements but want to know what
this CSS technique is all about before trying it yourself.
Although the CSS specification contains other pseudo-elements, I'll focus
on :before and :after. So, for brevity, I'll say “pseudo-elements” to
refer generally to these particular two.
Search WWH ::




Custom Search