Sunny-117 / js-challenges

✨✨✨ Challenge your JavaScript programming limits step by step

Home Page:https://juejin.cn/column/7244788137410560055

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

实现平行四边形

Sunny-117 opened this issue · comments

commented
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style lang="css">
      .parallelogram {
        width: 200px;
        height: 100px;
        margin-left: 120px;
        background-color: red;
        transform: skew(20deg);
      }
    </style>
  </head>
  <body>
    <div class="parallelogram"></div>
  </body>
</html>