Z axis 3D transforms - HTML CSS CSS Property

HTML CSS examples for CSS Property:transform

Description

Z axis 3D transforms

Demo Code

ResultView the demo in separate window

<html>
   <head>
      <style>
         div {<!--from   w w  w  . ja  v  a 2 s .  c om-->
            width: 200px;
            height: 100px;
            background-color:red;
            border: 1px solid black;
         }
         div#zDiv {
            -webkit-transform: rotateZ(90deg);

            /* Safari */
            transform: rotateZ(90deg);

            /* Standard syntax */
         }
      </style>
   </head>
   <body>
      <p>rotate Z axis</p>

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

Related Tutorials