@filipjanik00
Posted
Hi! I have some tips for you! Always use rem unit when defining font-sizes. Here is an article about it: https://www.freecodecamp.org/news/why-use-rem-to-set-font-size-in-css/ pef__h2 in your code should be H1 instead of H2. To make your solution more like a ready-made one, card title you should use line-heigt. Other than that, the solution is great! :)
Marked as helpful
@Kavman-skl
Posted
@filipjanik00 Thanks bro but can you please explain what the line height actually does
@filipjanik00
Posted
@Kavman-skl I send you a link to article: https://developer.mozilla.org/en-US/docs/Web/CSS/line-height
At the beggining of the article in section CSS Demo: line-height it's well explained. Have a nice day :)
@Kavman-skl
Posted
@filipjanik00 thanks have a nice day