Design comparison
Community feedback
- @HassiaiPosted almost 2 years ago
Replace <div class="container"> with the main tag, <h2> with <h1> ,h3> with <p> and remove <h1 class="color"></h1> from the html to fix the accessibility issue
Give .container a fixed width value instead of a percentage width.
Add
background-color: soft-violet; background-blend-mode: multiply; opacity: 0.7;
to .img-holder for the color on the image.In the media query for the mobile design, there is no need for grid-template- rows
Use rem or em as unit for the padding, margin, width and preferably rem for the font-size for more on CSS units watch this https://youtu.be/N5wpD9Ov_To
Hope am helpful HAPPY CODING
Marked as helpful0
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