Design comparison
Solution retrospective
any positive feedback is welcomed, thank you!
Community feedback
- @HassiaiPosted almost 2 years ago
wrap your html content in the main tag<main> and <h3> with <h1> to fix the accessibility issues. click here for more on web-accessibility and semantic html
To center a content on a page, add min-height:100vh; display: flex; align-items: center: justify-content: center; or min-height:100vh; display: grid place-items: center to the body.
sample: To center .container on the page using flexbox: body{ min-height: 100vh; display: flex; align-items: center; justify-content: center; }
sample: To center .container on the page using grid: body{ min-height: 100vh; display: grid; place-items: center; }
For the color of the image, add a background-color of soft violet, background-blend-mode: multiply and opacity:0.8 to .pic-div. there is no need for background position.
.pic-div{ background-image: url(); background-size: cover; background-color: hsl() background-blend-mode: multiply; opacity: 0.8; }
Hope am helpful.
Well done for completing this challenge. 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