SOURCE

console 命令行工具 X clear

                    
>
console
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>三角形</title>
  <style>
      .triangle {
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 100px;
        border-color: white green yellow black;
      }
      .triangle-one {
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 50px 100px 50px 0;
        border-color: black red green black;
        border-radius: 10px;
      }
    
  </style>
  <script src="https://cdn.bootcdn.net/ajax/libs/alpinejs/3.10.3/cdn.min.js" defer></script>
  <script src="https://unpkg.com/@unocss/runtime"></script>
  <script>
    // pass unocss options
    window.__unocss = {
      rules: [
        // custom rules...
      ],
      presets: [
        // custom presets...
      ],
      // ...
    }
  </script>
</head>

<body>
  <div class="triangle"></div>
  <div class="triangle-one"></div>
  <script>
    
  </script>

</body>

</html>