@Stroudy
Posted
Around 575px to 630px your site starts to break and you can fix this by adding:
object-fit: cover;
width: 100%;
height: 100%;
to your .card__product-photo
, Love the fact your using SCSS and BEM like me to but after some research SCSS is becoming more irrelevant because more and more features are coming to native CSS there were not there 10 years ago. Could be worth looking into it your self to form your own opinion, happy coding :D
@Cosaldi
Posted
@Stroudy yeah, i am still using it because for simplicity and easy to manage, and something that vanila css can't do.
by the way, thank for fix my code, i will apply it later.
Thanks....