学习网站
<!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>
</head>
<style>
.box{
display: flex;
}
.box-child{
margin-right: 10px;
}
/* 矩形样式 */
.rect1{
width: 0;
height: 0;
margin: auto;
border: 20px solid #6dd6f5;
border-right-color: darkgrey;
border-bottom-color: blue;
border-left-color: #87bf59;
}
.rect2{
width: 0;
height: 0;
border-top: 30px solid #6dd6f5;
border-right: 15px solid darkgrey;
border-bottom: 10px solid blue;
border-left: 20px solid #87bf59;
}
.rect3{
width: 20px;
height: 0;
margin: auto;
border: 20px solid #6dd6f5;
border-right-color: darkgrey;
border-bottom-color: blue;
border-left-color: #87bf59;
}
.rect4{
width: 20px;
height: 10px;
margin: auto;
border: 14px solid #6dd6f5;
border-right-color: darkgrey;
border-bottom-color: blue;
border-left-color: #87bf59;
}
/* 三角形样式 */
.triangle1{
width: 0;
height: 0;
border: 30px solid transparent;
border-left-width: 10px;
border-top-width: 0;
border-bottom-color: #6dd6f5;
}
.triangle2{
width: 0;
height: 0;
border: 15px solid transparent;
border-bottom-color: #6dd6f5;
}
.triangle3{
width: 0;
height: 0;
border: 20px solid transparent;
border-top-width: 15px;
border-bottom-width: 15px;
border-bottom-color: #6dd6f5;
}
.triangle4{
width: 0;
height: 0;
border: 15px solid transparent;
border-bottom-color: #6dd6f5;
border-right-color: #6dd6f5;
}
/* 梯形 */
.trapezoidal1{
width: 15px;
height: 0;
border: 20px solid transparent;
border-left-width: 10px;
border-bottom-color: #6dd6f5;
}
.trapezoidal2{
width: 15px;
border: 20px solid transparent;
border-bottom-color: #6dd6f5;
}
/* 圆 */
.round{
width: 0px;
height: 0px;
margin: auto