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
=> More informations about this toot | More toots from stephenjbell@indieweb.social
@stephenjbell I use “nearest” rather than “up” as part my css reset.
=> More informations about this toot | More toots from nilesh@mastodon.design This content has been proxied by September (ba2dc).Proxy Information
text/gemini