Tuesday, September 1, 2009

Generated content

these allow us to generate content.
we are altering the presentation of the document, not the document itself.
#content:before {
content: "Designed by Daniel";
}

this will then go in before any content.

a counter -

ul {
counter-reset:count;(specified a name for our counter)
}

li:before {
counter-increment:count;
content: "number " counter (count) ": ";
}

No comments:

Post a Comment