Prev Demo
3D-Transforms
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title></title> <style> div { width: 300px; height: 100px; background-color: green; border: 1px solid black; } div#myDiv { -webkit-transform: rotateX(150deg); } </style> </head> <body> <h2>RotateX()method</h2> <div> This a normal div element. </div> <div id="myDiv"> The rotateX() method rotates at its x axis by the given value </div> </body> </html>
Note: We DO NOT save your trial code in our database.
Output