Thread: Regex question
View Single Post
Old 01-02-2016, 07:15 AM   #5
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by exaltedwombat View Post
Is this a client's requirement? If not, you might reconsider. This sort of things, like drop capitals, can be attractively decorative on paper, but often looks merely odd on an e-reader screen.
Drop caps can be relatively easy implemented using pseudo selectors, which are ignored by older readers. I.e., you won't need to implement fallback styles, if you can live with the fact that users of older readers won't see drop caps.
You could for example use ::first-letter to apply drop caps formatting to the first letter of a paragraph or ::first-line to apply small caps to the first line of a paragraph.
Doitsu is offline   Reply With Quote