Y axis 3D transforms - HTML CSS CSS Property

HTML CSS examples for CSS Property:transform

Introduction

The following an example shows the y-axis 3D transforms

Demo Code

ResultView the demo in separate window

<html>
   <head>
      <style>
         div {<!--from www.  j ava2  s . c  o  m-->
            width: 200px;
            height: 100px;
            background-color:red;
            border: 1px solid black;
         }
         div#yDiv {
            -webkit-transform: rotateY(150deg);

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

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

      <p>Rotate Y axis</p>

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

Related Tutorials