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 | View the thread | More toots from stephenjbell@indieweb.social

Mentions

Tags

=> View typography tag | View css tag | View webdev tag

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

This content has been proxied by September (ba2dc).