X axis 3D transforms - HTML CSS CSS Property

HTML CSS examples for CSS Property:transform

Description

X axis 3D transforms

Demo Code

ResultView the demo in separate window

<html>
   <head>
      <style>
         div {<!--from  w w w .  j  av  a 2 s  .com-->
            width: 200px;
            height: 100px;
            background-color:red;
            border: 1px solid black;
         }
         div#myDiv {
            -webkit-transform: rotateX(150deg);

            /* Safari */
            transform: rotateX(150deg);

            /* Standard syntax */
         }
      </style>
   </head>
   <body>
      <div>
      tutorials point.com
      </div>

      <p>Rotate X-axis</p>

      <div id="myDiv">
      tutorials point.com.
      </div>
   </body>
</html>

Related Tutorials