Design comparison
Solution retrospective
I can not make .icon-view .svg {display:none;}. Where is my fault?
Community feedback
- @HassiaiPosted almost 2 years ago
Answer to your question: Give .img-main-hover opacity : 0 instead of display: none and Give img-main:hover .img-main-hover opacity of 0.9 and cursor value of pointer.
To center .first on the 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.
To center .first on the page using flexbox: body{ min-height: 100vh; display: flex; align-items: center; justify-content: center; }
To center .first on the page using grid: body{ min-height: 100vh; display: grid; place-items: center; }
Use the colors that were given in the styleguide.md found in the zip folder you downloaded.
There is no need to give the main a width a height value and increase the width of .first for it to be equivalent to the width of the design. For a responsive content, replace the width in .first with max-width.
max-width: 40rem
.Hope am helpful.
Well done for completing this challenge. HAPPY CODING
0@7denizPosted almost 2 years ago@Hassiai thank you so much for the reply. I am grateful for it. I am 45 years old(young😊) trying to learn coding. I have finished some css and html courses, now taking Js. I am gonna do the changes asap. See you😃
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