UI Deploy

Curated, Short, Web UI Dev we Love.

Big, Beautiful Dropcaps with CSS initial-letter

While it’s long been possible to create traditional dropcaps on the web using the ::first-letter pseudo selector, the process has been difficult: not only does it require a lot of careful, precise CSS, but any changes to the surrounding text, such as altering the typeface or line-height, push the dropcap out of alignment, whereas a good dropcap should always be “top and tail” with its associated text

view source

Advertisement