1. css画园
代码:
.circle {
width: 100px;
height: 100px;
background: #C6E2FF;
border-radius: 50px;
}
效果:
2. css画三角
代码:
.triangle {
width: 0;
height: 0;
border-left: 50px solid transparent;
border-right: 50px solid transparent;
border-bottom: 100px solid #C6E2FF;
}
效果: