Answer the question
In order to leave comments, you need to log in
How to implement background rotation?
I made rhombuses (I just turned the squares), but you need to insert a picture into each rhombus, the current problem is that it turns upside down. Please tell me who has already done this:
How to rotate the picture back?
And how to make the hover paint over the rhombus (current half) when in vision?
Here is my code : https://jsfiddle.net/Valeriy1996/5mjz4rf0/2/
Answer the question
In order to leave comments, you need to log in
Certainly a very terrible code. And why do you have different rotation angles for different browsers. So intended?
Took a turn for webkit. Here are your diamonds
The example is very large and it takes a long time to understand it.
The meaning is this: to make a wrapper. Rotate the wrapper by +45 degrees and the content by -45.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question