最新的Web開發教程
 

W3.CSS徽章和標籤


顯示徽章

新聞6

評論8

更新9

<p>News <span class="w3-badge w3-green">6</span></p>
<p>Comments <span class="w3-badge w3-red">8</span></p>
<p>Updates <span class="w3-badge w3-dark-grey">9</span></p>
試一試»

顯示標籤

例如新!

評論更晚!

<p>Example <span class="w3-tag w3-blue">New!</span></p>
<p>Comments <span class="w3-tag w3-teal">More Later!</span></p>
試一試»

與徽章名單

  • 吉爾5
  • 夏娃3
  • 亞當8

<ul class="w3-ul w3-border">
  <li>Jill <span class="w3-badge w3-green w3-right">5</span></li>
  <li>Eve <span class="w3-badge w3-green w3-right">3</span></li>
  <li>Adam <span class="w3-badge w3-green w3-right">8</span></li>
</ul>
試一試»

顯示大標籤

66

<span class="w3-tag w3-jumbo w3-padding-large w3-blue">66</span>
試一試»

顯示大徽章

66

<p><span class="w3-badge w3-jumbo w3-padding-large w3-red">66</span></p>
試一試»

快報顯示為標籤

。U 牛逼

<span class="w3-tag w3-black">J</span>
<span class="w3-tag w3-black">A</span>
<span class="w3-tag w3-black">N</span>
<span class="w3-tag w3-black">U</span>
<span class="w3-tag w3-black">A</span>
<span class="w3-tag w3-black">R</span>
<span class="w3-tag w3-black">Y</span>
試一試»