!importantをたくさん使用しているサンプル

Link Red

Link Orange

Link Green

<p><a href="#" class="red">Link Red</a></p>
<p><a href="#" class="orange">Link Orange</a></p>
<p><a href="#" class="green">Link Green</a></p>
a {
  color: #000 !important;
}

.red {
  color: red !important;
}

.orange {
  color: orange !important;
}

.green {
  color: green !important;
}

元記事を表示する