resposieve product preview card

Please log in to post a comment
Log in with GitHubCommunity feedback
- @AJsem
Well done bro. A little suggestion and this would be looking super elite. You see the right container, tweak all the contents with margin-bottom till the button itself hits the bottom edge of the container. You can also increase the line-height of the main paragraph text abit.
OR THIS, A PROFESSIONAL WAY TO SOLVE THIS Remove height from your main-container, let the height automatically be the height of the content, the fixes all that at once and also the best way to go about it rather than adding margins because you already have enough though.
OKAY, I WENT THROUGH YOUR CODE NOW add-to-cart-btn: the margin: 30px 0, should be just 30px for top and zero for bottom (30px 0 0). Also, I couldn't find a set height on the container though, so just check through your code. Either, the picture, left container, or right container has a set height, take it off.
GGs bro
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord