CSS - bullet li tick style

0 votes
102 views
added Mar 25, 2020 in CSS by LC Marshal Captain (25,770 points)
.ul-detail {
  li::before {
    // content: "•"; 
    color: $blue-second;
    margin-right: 10px;
  }
  &.tick {
    li::before {
      content: "✔"; 
    }

  }
}

 

<div class="ul-detail tick">
  <li>point 1</li>
  <li>point 1</li>
</div>

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...