Image Positioning
How do I replicate the original image as presented in the figma ?
i need help
5 Replies
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 mobilethe image on the left is the image of the iphone. so how do I apply css to hide the back of the iphone ?
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
hmm
thanks a lot
you could also use clip-path to hide it.