Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

41 rinda
1.9 KiB

  1. <div class="bs-docs-section">
  2. <h1 id="labels" class="page-header">Labels</h1>
  3. <h3>Example</h3>
  4. <div class="bs-example">
  5. <h1>Example heading <span class="label label-default">New</span></h1>
  6. <h2>Example heading <span class="label label-default">New</span></h2>
  7. <h3>Example heading <span class="label label-default">New</span></h3>
  8. <h4>Example heading <span class="label label-default">New</span></h4>
  9. <h5>Example heading <span class="label label-default">New</span></h5>
  10. <h6>Example heading <span class="label label-default">New</span></h6>
  11. </div>
  12. {% highlight html %}
  13. <h3>Example heading <span class="label label-default">New</span></h3>
  14. {% endhighlight %}
  15. <h3>Available variations</h3>
  16. <p>Add any of the below mentioned modifier classes to change the appearance of a label.</p>
  17. <div class="bs-example">
  18. <span class="label label-default">Default</span>
  19. <span class="label label-primary">Primary</span>
  20. <span class="label label-success">Success</span>
  21. <span class="label label-info">Info</span>
  22. <span class="label label-warning">Warning</span>
  23. <span class="label label-danger">Danger</span>
  24. </div>
  25. {% highlight html %}
  26. <span class="label label-default">Default</span>
  27. <span class="label label-primary">Primary</span>
  28. <span class="label label-success">Success</span>
  29. <span class="label label-info">Info</span>
  30. <span class="label label-warning">Warning</span>
  31. <span class="label label-danger">Danger</span>
  32. {% endhighlight %}
  33. <div class="bs-callout bs-callout-info">
  34. <h4>Have tons of labels?</h4>
  35. <p>Rendering problems can arise when you have dozens of inline labels within a narrow container, each containing its own <code>inline-block</code> element (like an icon). The way around this is setting <code>display: inline-block;</code>. For context and an example, <a href="https://github.com/twbs/bootstrap/issues/13219">see #13219</a>.</p>
  36. </div>
  37. </div>