Design comparison
Solution retrospective
- I'm starting to write better css by using CUBE CSS methodology
- I need to improve image styling
The desktop hero view with the split images and text in between was difficult. I would appreciate any advice on how to improve this area.
Community feedback
- @Jaimealicante83Posted 3 months ago
Excellent work! The position of the split images look good, I just would make the images a little bit smaller. I share you my css so you can see how I made it myself:
#people-right{ display: none; @media screen and (min-width: 1200px){ display: inline; position: absolute; right: 0; bottom: 0; max-height: 30.3rem; width: auto; }} #people-left{ display: none; @media screen and (min-width: 1200px){ display: inline; position: absolute; left: -2rem; top: 0; height: 30.3rem; width: auto; } }
In the central images I would use a gap of 32px between them.
To apply a overlay in the footer I used this, maybe it can help:
&::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #4D96A9; opacity: 0.8; z-index: 2; }
Cheers!
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