Design comparison
SolutionDesign
Solution retrospective
Can anyone help me how to fix the size of the image and how to work on widths?
Community feedback
- @denieldenPosted over 2 years ago
Hi Gowsalaya, great work on this challenge! 😉
Here are a few tips for improve your code:
- add
main
tag and wrap the card for improve the Accessibility img
element must have analt
attribute, it's very important!- use
h1
insteadh3
for the title of card - remove all
margin
from.card-container
class because with flex they are superfluous - add
transition
on the element with hover effect - instead of using
px
use relative units of measurement likerem
-> read here - You can fix the effect
:hover
using adiv
that appears on hover, you are almost there in succeeding. I used tailwind but you can still see and understand which css properties you can use to do the same. Look here -> my solution
Overall you did well 😁 Hope this help!
0 - add
Please log in to post a comment
Log in with GitHubJoin 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