Image Positioning

How do I replicate the original image as presented in the figma ? i need help
No description
No description
5 Replies
Jochem
Jochem7d 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
theseekerOP7d 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
Jochem7d 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
theseekerOP7d ago
hmm thanks a lot
Chris Bolson
Chris Bolson7d ago
you could also use clip-path to hide it.
Want results from more Discord servers?
Add your server