Design comparison
Solution retrospective
- to make the bottom,right outline of the blog card - googled out some styles.
- the content of the blog card comes outside the container when i reduce the screen size. - watched some tutorial videos to find out the below styles. display:grid; place-content:center; min-height:100vh;
- on the html part, i had a doubt whether i use / in the "Learning", later i used tag. Do we use element without element
Community feedback
- @DylandeBruijnPosted 4 months ago
@Mageshwari-Balaguru
Hiya! 👋
Congratulations on your solution, it looks very close to the design! I can tell you put a lot of effort into it.
Things you could improve ✍️
-
I suggest adding a bit of
padding
to yourbody
element so the card has some space around it on smaller viewports. -
I suggest using clear descriptive CSS classes like
.card
,.card-title
and.card-description
. -
Try using using relative CSS units like
rem
andem
they make your layout more adaptable. -
Try making your solution more responsive.
-
Even though the
::before
is a creative solution to achieve the desired effect of the shadow you also could've used adrop-shadow
. -
While the use of CSS variables is a good thing, you went a bit over the top with them and it clutters your code a fair bit.
I hope you find my feedback helpful! 🌟
Let me know if you have more questions and I'll do my best to answer them. 🙋♂️
Happy coding! 😎
Marked as helpful1 -
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