Matrix transform - HTML CSS CSS Property

HTML CSS examples for CSS Property:transform

Description

Matrix transform

Demo Code

ResultView the demo in separate window

<html>
   <head>
      <style>
         div {<!-- ww w  .  j ava  2  s.  c o  m-->
            width: 300px;
            height: 100px;
            background-color:red;
            border: 1px solid black;
         }
         div#myDiv1 {
            /* IE 9 */
            -ms-transform: matrix(1, -0.3, 0, 1, 0, 0);

            /* Safari */
            -webkit-transform: matrix(1, -0.3, 0, 1, 0, 0);

            /* Standard syntax */
            transform: matrix(1, -0.3, 0, 1, 0, 0);
         }
      </style>
   </head>
   <body>
      <div>
      book 2s .com.
      </div>

      <div id="myDiv1">
      book 2s .com
      </div>
   </body>
</html>

Related Tutorials