本文小编为大家详细介绍“css3如何实现圆点”,内容详细,步骤清晰,细节处理妥当,希望这篇“css3如何实现圆点”文章能帮助大家解决疑惑,下面跟着小编的思路慢慢深入,一起来学习新知识吧。

css3实现圆点的方法:1、创建div为“<div class="status-point" style=" background-color:#67C23A" />”;2、通过设置css属性为“.status-point {display: inline-block;width: 6px;height: 6px;border-radius: 50%;}”即可实现圆点效果。

css实现小圆点

要求效果:

css3如何实现圆点

   <div v-if="scope.data.row.status === 1">
        <div class="status-point" style=" background-color:#67C23A" />
        已通过
      </div>
      <div v-else-if="scope.data.row.status === 0">
        <div class="status-point" style=" background-color:#E6A23C" />
        未被审批</div>
      <div v-else-if="scope.data.row.status === 2">
        <div class="status-point" style=" background-color:#00000040" />
        未通过</div>
<style scoped>
.status-point {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
</style>

后面想到用,也可以用i标签。

读到这里,这篇“css3如何实现圆点”文章已经介绍完毕,想要掌握这篇文章的知识点还需要大家自己动手实践使用过才能领会,如果想了解更多相关内容的文章,欢迎关注***行业资讯频道。

相关文章:

  • 2021-12-15
  • 2021-11-11
  • 2021-08-09
  • 2021-06-01
  • 2021-12-14
  • 2021-11-03
  • 2021-10-04
  • 2021-10-04
猜你喜欢
  • 2021-09-25
  • 2021-12-04
  • 2021-12-14
  • 2022-01-19
  • 2021-09-29
  • 2021-10-04
  • 2021-10-04
  • 2021-12-04
相关资源
相似解决方案