Quote:
Originally Posted by JSWolf
Nope. That's not what initial-letter is for. Initial letter is for styling the initial letter without the need for a span.
|
John, you're mixing first-letter with initial-letter.
::first-letter is the selector that allows styling without the span.
initial-letter is a relatively new CSS option (It was Webkit/Safari only for a long time) that allows dropcaps. Eg:
Code:
.two::first-letter {
initial-letter: 2; /* Initial letter occupies 2 lines */
}