Content

Created: 28 August 2009  Modified:

Originally published on chrislynch.info website.

Content is a declaration that unsurprisingly allow you to add content to the page via css. Doesn’t work in IE 6 or 7.

Example:

a::before {
  content: "Go to: ";
}
tags: blog - old blog - Cascading Style Sheets - CSS
   Memory is Fleeting