Design comparison
Solution retrospective
I really like this project. I think my Flexbox design improve for the better. What do u think? what about my CSS code and my HTML structure? Thank u in advance :)
Community feedback
- @HassiaiPosted almost 2 years ago
Replace <h2> with <h1> to fix the accessibility issue.
For the color of the image, there is no need for a linear gradient, add background-color of soft violet, background-blend-mode of multiply and opacity of 0.8 to .box_2.
.box_2{ background-image: url(); background-size: cover; background-color: hsl() background-blend-mode: multiply; opacity: 0.8; }
Use relative units like rem or em as unit for the padding, margin, width values and preferably rem for the font-size values, instead of using px which is an absolute unit. For more on CSS units Click here
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
1
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