Design comparison
Solution retrospective
please guys i just need help with img and back ground and view how mix it together and make background trans
i need help with how to minssion icon
Community feedback
- @HassiaiPosted over 1 year ago
Replace <div class="cont"> with the main tag and <div class="attribution"> with the footer tag to fix the accessibility issues. click here for more on web-accessibility and semantic html
Replace the footer tag with a section tag/div tag.
Use the colors that were given in the styleguide.md found in the zip folder you downloaded.
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
For the over overlay, wrap the img containing the icon image in a div and give it a class for the styling.
<div class= "overlay">
.Give .overlay position: absolute, right, bottom, top and left value of 0 , a background-color of cyan and opacity: 0. Give img .overlay opacity of 0.9 .
.overlay{ position: absolute; top: 0; left:0; right: 0; bottom: 0; background-color: hsl(); opacity: 0; } img .overlay{ opacity:0.8; }
To center the view icon give .overlay img position absolute top and left of 50% and transform: translate(-50%, -50%).
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful1
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