@userMatMik
Posted
Hi, I checked your code and you are using pseudo-elements ::before to display icons so if you want to align them you must set position: relative to parent element and position: absolute to ::before element. So for example it should look like this:
.card__price { position: relative; margin-left: 20px; }
.card__price::before { position: absolute; left: -20px; top: 1px; }
.card__date { position: relative; }
.card__date::before { left: -25px; top: 2px; }
Hope it helps you.
Marked as helpful
@polukarp
Posted
@userMatMik Thanks, that worked for me.