<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
#father{width: 600px;height: 600px;background-color: yellow;}
#div{width: 0px;height: 0px;border:50px solid green;border-top-color: red;border-bottom: none;border-left-color:rgba(255,255,255,0);border-right-color:rgba(255,255,255,0);}
</style>
</head>
<body>
<div id="father">
<div id="div"></div>
</div>
</body>
</html>
纯CSS写一个小三角
最新推荐文章于 2022-04-01 16:02:53 发布