v587yy

先写一个div

将边框设置大一点

最后将div高度宽度设置为0

transparent透明

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        div {
            height:0px;
            width:0px;
            border-top:90px solid red;
            border-left:90px solid green;
            border-right:90px solid pink;
            border-bottom:90px solid blue;
        
        
        }


    </style>
</head>
<body>
    <div></div>
</body>
</html>

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2021-06-04
猜你喜欢
  • 2021-11-20
  • 2021-11-20
  • 2021-10-30
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案