How to Squeeze A Box | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to Squeeze A Box

Hi guys does any of you know how to squeeze a element inwards something like this ---------- ). ( ----------- Its width or height and i don't want answer like add ::after or ::before to create a illusion of squeezing. If I add a image in it. It should squeeze to like the shape of element it should not get clipped. Thanks..

8th Feb 2023, 3:42 PM
Daniyal
1 Answer
0
Potentially you could create svg with desired shape using svg generator. For instance: https://pavellaptev.github.io/warp-svg/
9th Feb 2023, 1:00 AM
Marko Yatsyn
Marko Yatsyn - avatar