17周利用border-radius制作圆
利用border-radius制作圆
html
<body>
<div class="circle">
1
</div>
</body>
css
.circle{
margin: 0 auto;
width: 100px;
height: 100px;
background-color: red;
text-align: center;
line-height: 100px;
border-radius: 50%;
}
浙公网安备 33010602011771号