Press "Enter" to skip to content

Skew Examples in CSS

Last updated on October 5, 2019

Definition :

It will tight and bend cross the container.

Program :

<html>

     <style type=”text/css”>

                     div

                                 {

                                 margin-left: 100px;

                                 width: 100px;

                                 height: 100px;

                                 font-size: 25px;

                                 border: 1px solid red;

                                 background-color: green;

                                 transform: skew(20deg, 10deg);

                                 }

                </style>

                <body>

                     <div> HELLO </div>

                </body>

</html>

Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *