Design comparison
Community feedback
- @filipjanik00Posted 10 months ago
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 helpful0@Kavman-sklPosted 10 months ago@filipjanik00 Thanks bro but can you please explain what the line height actually does
1@filipjanik00Posted 10 months ago@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 :)
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord