Design comparison
Solution retrospective
I couldn't get the images correct - I don't know if they are cropped (which I haven't covered yet in my bootcamp course) or there is manipulation of the Z axis (which came up briefly in the course but I'm not sure it's relevant). Any comments appreciated!
Community feedback
- @GrzywNPosted over 2 years ago
Great job!
Not gonna lie, this one isn't newbie challenge at all. It's possible to make it right by manipulating
background-size
andbackground-position
properties for examplebackground-position: left 100px center
or something like that. Also there is need to make one of the imagesoverflow: hidden
and to position absolutely the other one (box) with properties e.g.top: 50%
andtransform: translateY(-50%)
.To match the design in your future projects or even this one if you want to improve it, you can checkout PerfectPixel extension for Google Chrome or Diffchecker.
Hope this helps! Keep up the great work and good luck!
Marked as helpful1@consumer185Posted over 2 years ago@GrzywN Many thanks for your feedback - I will make the changes shortly to get the images correct. Also thanks very much for the PerfectPixel extension tip, I've just installed and played around with it and I can see it will be very useful! Thanks again!
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