If you’ve ever worked on sites with lots of long-form text — especially CMS sites where people can enter screeds of text in a WYSIWYG editor — you’ve likely had to write CSS to manage the vertical spacing between different …
Solved With :has(): Vertical Spacing in Long-Form Text originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.
https://css-tricks.com/solved-with-has-vertical-spacing-in-long-form-text/
Accedi per aggiungere un commento
Altri post in questo gruppo
The @view-transition
at-rule has two descriptions. One is the commonly used navigation
descriptor. The second is types
, the lesser-known of the two, and one t
After 20 years since Andy Clarke first published his book about Multi-Column Layout in CSS, he's back to encourage a fresh look at CSS columns for enhanced readability and design flexibility.
<
When it comes to positioning elements on a page, including text, there are many ways to go about it in CSS — the literal position
property with corresponding inset-*
prope
I was reading through Juan’s recent Almanac entry for the @counter-style
at-rule and I’ll be darned if he didn’t uncover and unpack some extremely interesting things
Chris wrote about “Likes” pages a long while back. The idea is rather simple: “Like” an item in your RSS reader and dis