Ancestors

Toot

Written by Stephen Bell on 2024-11-21 at 15:59

TIL you can use round() on CSS line-height, which basically means you can snap it to a baseline grid.

https://codepen.io/stephenjbell/pen/RwXzOym

[#]css #webdev #typography

=> View attached media

=> More informations about this toot | More toots from stephenjbell@indieweb.social

Descendants

Written by Nilesh Prajapati on 2024-11-21 at 18:46

@stephenjbell I use “nearest” rather than “up” as part my css reset.

=> More informations about this toot | More toots from nilesh@mastodon.design

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113521773812302322
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
249.264453 milliseconds
Gemini-to-HTML Time
0.386234 milliseconds

This content has been proxied by September (ba2dc).