start.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. ---
  2. layout: documentation
  3. doc-tab: overview
  4. doc-subtab: start
  5. ---
  6. {% include subnav-overview.html %}
  7. <section class="section">
  8. <div class="container">
  9. <h1 class="title"><strong>3</strong> ways to start</h1>
  10. <h2 class="subtitle">You only need <strong>1 CSS file</strong> to use Bulma</h2>
  11. <hr>
  12. <article class="media is-large">
  13. <div class="media-left">
  14. <p class="title is-5">1</p>
  15. </div>
  16. <div class="media-content">
  17. <p class="title is-5">
  18. Use <strong>NPM</strong> <em>(recommended)</em>:
  19. </p>
  20. {% highlight bash %}
  21. npm install bulma
  22. {% endhighlight %}
  23. </div>
  24. </article>
  25. <article class="media is-large">
  26. <div class="media-left">
  27. <p class="title is-5">2</p>
  28. </div>
  29. <div class="media-content">
  30. <p class="title is-5">
  31. Use the <a href="https://cdnjs.com/" target="_blank">cdnjs</a> <strong>CDN</strong>
  32. <br>
  33. <a href="https://cdnjs.com/libraries/bulma">https://cdnjs.com/libraries/bulma</a>
  34. </p>
  35. </div>
  36. </article>
  37. <article class="media is-large">
  38. <div class="media-left">
  39. <p class="title is-5">3</p>
  40. </div>
  41. <div class="media-content">
  42. <p class="title is-5">
  43. Download from the <strong>repository</strong>
  44. <br>
  45. <a href="https://github.com/jgthms/bulma/tree/master/css">https://github.com/jgthms/bulma/tree/master/css</a>
  46. </p>
  47. </div>
  48. </article>
  49. <hr>
  50. <div class="message is-info">
  51. <div class="message-header">
  52. Font Awesome icons
  53. </div>
  54. <div class="message-body">
  55. <p>If you want to use icons with Bulma, don't forget to include <a href="https://fortawesome.github.io/Font-Awesome/">Font Awesome</a>:</p>
  56. {% highlight html %}
  57. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
  58. {% endhighlight %}
  59. </div>
  60. </div>
  61. </div>
  62. </section>