Single price grid with Css grid and flexbox

Please log in to post a comment
Log in with GitHubCommunity feedback
- @bccpadge
Hello @hakylepremier. Congratulations on completing this challenge🎉!!
I have couple tips to improve your solution.
CSS 🎨:
- Font size should never be in pixels because it is not accessible for everyone.
More info 📚:
Font size shouldn't be in pixels
- When I switch to mobile responsiveness your single price grid component cuts off at the top. Also, you need more space on the bottom as well. To fix this issue you can add this code below.
body{ padding-block: 10rem; }
- On desktop you can remove the padding altogether to make sure the component is in the center of website using a media query.
Padding block is a logical property in CSS which means top and bottom.
More info 📚:
Hopes this helps you and don't hesitate to reach out to me if you have any questions.
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