classes.html 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. ---
  2. title: CSS classes
  3. layout: documentation
  4. doc-tab: overview
  5. doc-subtab: classes
  6. breadcrumb:
  7. - home
  8. - documentation
  9. - overview
  10. - overview-classes
  11. ---
  12. <div class="content">
  13. <p>
  14. Bulma is a <strong>CSS</strong> framework, meaning that the end result is simply a <strong>single</strong> <code>.css</code> file:
  15. <br>
  16. <a href="https://github.com/jgthms/bulma/blob/master/css/bulma.css">https://github.com/jgthms<wbr>/bulma<wbr>/blob<wbr>/master<wbr>/css<wbr>/bulma.css</a></p>
  17. <p>
  18. Because Bulma solely comprises CSS classes, the HTML code you write has <strong>no impact</strong> on the styling of your page. That's why <code>.input</code> exists as a class, so you can choose <em>which</em> <code>&lt;input type="text"&gt;</code> elements you want to style.
  19. </p>
  20. <p>
  21. Bulma only styles <strong>generic</strong> tags directly <strong>twice</strong>:
  22. </p>
  23. <ul>
  24. <li>
  25. <a href="https://github.com/jgthms/bulma/blob/master/sass/base/generic.sass"><code>generic.sass</code></a> to define a basic style for your page
  26. </li>
  27. <li>
  28. the <a href="{{ site.url }}/documentation/elements/content/"><code>.content</code> class </a> to use for <em>any</em> textual content, like WYSIWYG
  29. </li>
  30. </ul>
  31. </div>