html+css 写出三角形状

<!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>hml+css 写出三角形状</title>
    <style>
        .nabla {
            width: 50px;
            height: 50px;
            border: 25px solid transparent;
            border-bottom-color: aquamarine;
        }
   </style>
<body>
    <div class="nabla"></div>
    
</body>

</html>

 

posted on 2022-10-14 15:38  totau  阅读(28)  评论(0编辑  收藏  举报

导航