Home css Smooth Rotate Element

Smooth Rotate Element

Author

Date

Category

I want to make a smooth turn, but it does not work, although I haven’t pointed out. How to implement it?
Layout:

. Left-Part {
 Display: INLINE-BLOCK;
background: red;
width: 100px;
HEIGHT: 100px;
TRANSFORM: ROTATE (30DEG);
}
#all {
Transition: 1S;
} 
& lt; div id = 'all' & gt;
& lt; div class = 'left-part' & gt; & lt; / div & gt;
& lt; / div & gt; 

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions