Ken Brazier's blog

:after{awesome!} is :before{CSS}

Or, "How to replace an entire text title with CSS".

For the longest time, I thought it was a cardinal rule of CSS: You can add pictures, but you can't add text. I must have been aiming for extremely old browser support when I learned this, probably IE6, because with modern browsers it's clearly wrong. Not only can you add text to a page with CSS, I've found a way to actually replace small pieces of text like short headings.

Syndicate content