1. i 标签
<style type="text/css">
i{
height: 10px;
width: 10px;
background-color: red;
border-radius: 50%;
display:inline-block;
}
div{
display:inline-block;
}
</style>
实现效果:
2. div标签
<style type="text/css">
div{
height: 10px;
width: 10px;
background-color: red;
border-radius: 50%;
}
</style>
实现效果: