View Single Post
Old 12-26-2024, 05:39 AM   #250
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,915
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by sherman View Post
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 */
}
Relatively new meaning it may not work in most cases,
JSWolf is offline   Reply With Quote