+ 1

how to change the rotate of a div element

6th Apr 2017, 8:04 AM
MisterMM23
2 odpowiedzi
+ 2
Thx!
6th Apr 2017, 10:51 AM
MisterMM23
0
The question is not well described, but I assume that you need to rotate your div element so I'll give you example. HTML: <div id="myDiv"> <!-- Some content in div. --> </div> CSS: #myDiv{ transform: rotate(45deg); -moz-transform: rotate(45deg); //to work with mozilla -webkit-transform: rotate(45deg); // -II- chrome -ms-transform: rotate(45deg); // iexplorer -o.transform: rotate(45deg); //opera }
6th Apr 2017, 8:26 AM
Amar
Amar - avatar