Design comparison
Solution retrospective
How do you make responsive font size ?
Community feedback
- @HassiaiPosted almost 2 years ago
To center the main on the page using grid, replace the height in the body with min-height: 100vh.
For a responsive content replace the width in the main with max-width and give the img a max-width of 100% instead of a width and height value.
Give h1 and p a font-size of 1.5rem which is 15px and replace the padding in .info with a margin value.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
1@Ofcl-JavedPosted almost 2 years ago@Hassiai have to give width height to image because it is a bigger image and it is a good practice to give size to image And i did use rem in fontSize
0
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