You can use the + symbol in css to alter the way markup is styled according to it's position in the document. This page demonstrates how the boldness of text can be increased the lower in the document the text appears. View the source code.
See 5.7 Adjacent sibling selectors of the Cascading Style Sheets, level 2 CSS2 Specification for full details.