.circle {
    display: inline-block;
    width: 12px;
    height: 12px;
}
.circle:after {
    content: '';
    margin: 3px;
    display: table;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}
Html: 我的是一个<i class="circle"></i>圆点

效果:

纯CSS如何实现状态圆点

 

相关文章:

  • 2021-12-09
  • 2021-08-21
  • 2021-06-18
  • 2022-12-23
  • 2021-09-24
  • 2021-10-16
  • 2022-12-23
  • 2021-07-23
猜你喜欢
  • 2022-01-25
  • 1970-01-01
  • 2022-12-23
  • 2021-09-29
  • 2021-09-05
  • 1970-01-01
  • 2022-12-23
相关资源
相似解决方案