Answer the question
In order to leave comments, you need to log in
How to reshape a div?
I wanted to make 3 stripes that animate to the right side.
What I did above.
But the problem appeared.
If you assign a picture to it, the picture will also have a rotation.
How it is possible to correct it?
So that the strip is at an angle and the picture is even and does not climb beyond its limits.
CSS stripes:
margin-left: 20px; width: 33%; height: 100%;
transform: skew(20deg);
position: absolute;
Answer the question
In order to leave comments, you need to log in
Try to make the stripes an animated picture (GIF) and paste it as a background
Or take JS
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question