 
  Data Structure Data Structure
 Networking Networking
 RDBMS RDBMS
 Operating System Operating System
 Java Java
 MS Excel MS Excel
 iOS iOS
 HTML HTML
 CSS CSS
 Android Android
 Python Python
 C Programming C Programming
 C++ C++
 C# C#
 MongoDB MongoDB
 MySQL MySQL
 Javascript Javascript
 PHP PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Rotate div with skew y-axis using CSS
You can try to run the following code to rotate div with skew y-axis using CSS −
Example
<html>    <head>       <style>          div {              width: 300px;              height: 100px;              background-color: pink;              border: 1px solid black;           }           div#skewDiv {              /* IE 9 */              -ms-transform: skewY(20deg);              /* Safari */              -webkit-transform: skewY(20deg);              /* Standard syntax */              transform: skewY(20deg);           }       </style>    </head>    <body>       <div>          Welcome to my website.       </div>       <div id = "skewDiv">          Welcome to my website.       </div>    </body> </html>Advertisements
 