I have a query, and it is about how good it is to use Grid for Layouts?
Tobani Esan-George
@TobshubAll comments
- @LeonardoAntezanaSubmitted over 2 years ago@TobshubPosted over 2 years ago
Hi! I love how you took this challenge by the horns and added your own touch to it. It's actually kind of refreshing to see such solutions. But I noticed you didn't add the SVG for the shopping cart into the 'add to cart' button. Was that on purpose, or did you just miss it?
0 - @DavincyProjectSubmitted over 2 years ago
can someone explain to me how to replace images with css or whatever u know, from desktop images to mobile images
@TobshubPosted over 2 years agoHi, regarding your question: the best way for me is to use a div element instead of an image, and give the div a background-image of the image you want. This way in the media queries, you can specify which image you want (i.e. in the media query for mobile, use the background image for the mobile design on the div, and similarly for the desktop).
Marked as helpful1