DEV Community

Discussion on: Mastering CSS: Vertical Rhythm

Collapse
nikola_lakovic profile image
Nikola Lakovic • Edited on

Hi! Great subject, thanks! I have a question though, why did you set the line-height property exactly to 1.778rem? Can this value be something else? I got that 18px * 1.778rem equals 32px which is our 1 vertical rhythm. Can I adjust this according to my fonts, right? I guess I can put 16px for the base font size, and 1.3rem for the vertical rhythm if that's my design case. Cheers!