It’s a natural behavior of text elements to include some space on top (and bottom) of the element itself based on its line-height value. In some cases, you may need to remove those spaces as they can create inconsistencies in your page design.
— August 6, 2018
Level up your CSS skills
💌 Each month we email a 1-minute CSS tutorial to 20K developers
Unlock all the Pro features
359 components and counting
Unlimited CodyHouse projects
Unlock our collection of Templates
One-click project export
One-time payment, lifetime access
There was an error while trying to export your project. Please try again or contact us.