P
Sergiu Grosu• 240
@sergrosu
Posted
You're pretty close.
One thing I would change, is the cart icon: it's a style element and it's probably not a good idea to have it in your html. You can implement it inside your button using the ::before
pseudo-element:
.button-cart::before {
content: "";
width: 15px;
height: 16px;
background-image: url(../images/icon-cart.svg);
}
0