Content Controls

These are the final few stylesheet commands that can affect the appearance of your web page. They can be used for section numbering and other similar manipulations.

Examples

h1:before {content: "Section " counter(section) ". "; counter-increment: section; counter-reset: sub-section;}

 

This article written by Stephen Chapman, Felgall Pty Ltd.

go to top

FaceBook Follow
Twitter Follow
Donate