Blog Preview Card using HTML & CSS

Solution retrospective
I found it difficult to make the design responsive.
What specific areas of your project would you like help with?I would like someone help me about making design layout responsive. I tried my best, but the code didn't seem to be working. If someone could read my code and help me find bug(s) in my code.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Demaxs26
Hi, you did a well job !
For the responsive you just need to define the size of the main box in % or vh instead of px :
.main{ width: 100%; height: 100vh; }
and to not set the size of the card :
.card{ width: fit-content; height: fit-content;
normally with that you dont need to use any media screen so you can just remove them i think
have a nice day !
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