How to implement dots in css3

藏色散人
Release: 2023-01-28 11:29:42
Original
3538 people have browsed it

How to implement dots in css3: 1. Create a div as "

"; 2. By setting css attributes Set ".status-point {display: inline-block;width: 6px;height: 6px;border-radius: 50%;}" to achieve the dot effect.

How to implement dots in css3

The operating environment of this tutorial: Windows 10 system, HTML5 version, DELL G3 computer

How to implement dots in css3?

css to realize small dots

Required effect:

How to implement dots in 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>
Copy after login

<style scoped>
.status-point {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
</style>
Copy after login

If you think of it later, you can also use the i tag.

Recommended study: "css3 video tutorial"

The above is the detailed content of How to implement dots in css3. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!