Image Positioning

How do I replicate the original image as presented in the figma ? i need help
No description
No description
5 Replies
Jochem
Jochem2mo ago
without more information, I can't really say more than "probably grid I guess" though for something like this I might still just slap a position: relative; on the container and position: absolute; on the image like... you've shown a zoomed in part of the design. It's going to depend on what the whole thing looks like how you position these things, and might even depend on how it has to look on desktop or mobile
theseeker
theseekerOP2mo ago
the image on the left is the image of the iphone. so how do I apply css to hide the back of the iphone ?
Jochem
Jochem2mo ago
I'd probably just edit the image in an image editor alternatively if you really have to you can stick it in a wrapper with overflow hidden and set the width of the wrapper low enough
theseeker
theseekerOP2mo ago
hmm thanks a lot
Chris Bolson
Chris Bolson2mo ago
you could also use clip-path to hide it.
Want results from more Discord servers?
Add your server