Adding shadow to product cards
Last updated
Last updated
You can make the product cards more fancy by adding some shadow to it so that it highlights and looks funky.
The above CSS makes the card with rounded edges, a shadow effect, and a light grey background. When you hover over the card, it will move up slightly, the shadow effect will get stronger, and the background color will change to a yellowish color.
Add this CSS to the layout.css file and deploy the changes.
This is how the card looked previously
This is how it looks after adding the CSS, where the middle card is hovered upon.