Assessment wanted for Fundamental CSS comprehension - Dimitar Danov

codepen link
Thank you!

Nice work @design.danov!

One thing to mention:
It’s recommended to use unitless numbers for line-height . For an explanation see:

For example by setting

.card h2 {
  font-size: 2em;
  line-height: 1.5;

this will result in the desired height of 3em (2em * 1.5).

I hope that helps,

1 Like