Aligning type to baseline grid with CSS variables

A technique to align type to baseline grid with vanilla CSS.

Here is the live Codepen if anyone is interested:

https://codepen.io/fluxus/pen/BMGKMK

More by Mirko Zorić

View profile