怎么用CSS画一个圆,椭圆,三角
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
.circle {
width: 100px;
height: 100px;
border-radius: 50%;
background: red;
}
.elipse {
width: 100px;
height: 80px;
border-radius: 50%;
background: green;
}
.triange {
width: 0px;
height: 0px;
border-left: 70px solid transparent;
border-right: 70px solid transparent;
border-bottom: 120px solid pink;
}
</style>
</head>
<body>
<div class="circle"></div>
<div class="elipse"></div>
<div class="triange"></div>
</body>
</html>