Responsive card using CSS

Please log in to post a comment
Log in with GitHubCommunity feedback
- @denielden
Hi Samlan, I took some time to look at your solution and you did a great job!
Also I have some tips for improving your code:
- You can add the effect
:hover
creating adiv
that appears on hover. I used tailwind but you can still see and understand which css properties you can use to do the same. Look here -> my solution - try to add a little
transition
on the element with hover effect - instead of using
px
try to use relative units of measurement -> read here
Overall you did well 😉
Hope this help and happy coding!
Marked as helpful - You can add the effect
- @KwakuAldo
Hello Sam, you need to put a hover state on the image. You can have a look at my solution here to help you with that https://www.frontendmentor.io/challenges/nft-preview-card-component-SbdUL_w0U/hub/nftpreviewcardcomponentmain-made-with-css-flexbox-QYjZ70xgz
Marked as helpful
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