Cumulative Effect of Pseudo-Elements

This example illustrates the cumulative effect of attaching :first-line and :first-letter pseudo-elements to an element.

The first letter of this paragraph is twice the size of the other letters in the paragraph. The first line of this paragraph has uppercase letters. Subsequent lines render normally. The first letter of this paragraph is twice the size of the other letters in the paragraph. The first line of this paragraph has uppercase letters. Subsequent lines render normally.





[Right-click in window to view the full source code.]




© 2007 Microsoft Corporation. All rights reserved. Terms of use.