@vanzasetia
Posted
Hi, Chris! 👋
I wouldn't recommend aiming for "pixel-perfect" solution instead I highly recommend focusing on the quality of your code. Josh Comeau has a great article about "Chasing the Pixel-Perfect Dream" which I highly suggest reading it.
It looks like you are trying to use the BEM naming convention. If so then, there's shouldn't be any element nested within another element.
- BEM - block__element--modifier
- BEE - block__element__element
For the card__footer
element, I would recommend using ul
and wrapping each element with li
instead. Also, instead of using br
element to make the text move to another line, I would recommend making the span
as display: block
instead.
That's it! I hope this information is useful!
Marked as helpful