Space iside h1 element. How to clean?

Hi, guys! I’m working here on my “Product Landig page” and I dont realy anderstand, how to clean the space inside my h1 element. I want to make it as a logo for my page, byt when I set th font size for this element, space inside this element increase too. Do you know something about this?

here my progect:

Thanks a lot! :slight_smile:

You might want to look at the CSS property line-height. That lets you adjust the line spacing within the heading itself.

https://devdocs.io/css/line-height

I used a line-height: 80%; in your codepen (in the .header__caption-logo selector’s CSS rules), and it looked pretty good.

1 Like

Thanks a lot !:smiley::+1: