alternative-to-bootstrap.html 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. ---
  2. bulma:
  3. - type: "bulma"
  4. icon: "css3"
  5. title: "Modern features"
  6. content: "By using the latest CSS3 features such as **Flexbox**, and planning on using **CSS Variables** and **CSS Grid**, Bulma aims to stay on the bleeding edge of browser technology."
  7. - type: "bulma"
  8. icon: "pause"
  9. title: "Simple grid system"
  10. content: "To build a Bulma grid, you only need a single `.columns` container to wrap as many `.column` items as you want."
  11. - type: "bulma"
  12. icon: "heart"
  13. title: "Easy-to-learn syntax"
  14. content: "With simple readable **class names** like `.button` or `.title`, and a straightforward **modifiers system** like `.is-primary` or `.is-large`, it's easy to pick up Bulma in **minutes**.<br>[More about modifiers](/documentation/modifiers/syntax/)"
  15. - type: "bulma"
  16. icon: "fa"
  17. title: "Font Awesome support"
  18. content: "Bulma is compatible with [Font Awesome](http://fontawesome.io/) thanks to the `.icon` element."
  19. - type: "bulma"
  20. icon: "plus"
  21. title: "100+ useful CSS helpers"
  22. content: 'Bulma ships with more than **100 helpers** to specify color, display, and spacing.<br>[Responsive helpers](/documentation/modifiers/responsive-helpers/) <span class="separator">–</span> [Typography helpers](/documentation/modifiers/typography-helpers/) <span class="separator">–</span> [Other helpers](/documentation/modifiers/helpers/)'
  23. - type: "bulma"
  24. icon: "code"
  25. title: "No JavaScript"
  26. content: '<p>By focusing only on <strong>CSS</strong>, Bulma provides a lightweight solution that can easily be implemented in <strong>any development context</strong>.</p><blockquote class="twitter-tweet" data-cards="hidden" data-lang="en"><p lang="en" dir="ltr"><a href="https://t.co/vY1ZsRScYM">https://t.co/vY1ZsRScYM</a> -- a CSS framework by <a href="https://twitter.com/jgthms">@jgthms</a> -- is lovely! No JS included, which means no JS opinions included!</p>&mdash; Robert Stuttaford (@RobStuttaford) <a href="https://twitter.com/RobStuttaford/status/860885116909998080">May 6, 2017</a></blockquote>'
  27. bootstrap:
  28. - type: "bootstrap"
  29. icon: "plug"
  30. title: "jQuery plugins"
  31. content: "Bootstrap includes useful jQuery plugins to add **interaction** to your website."
  32. - type: "bootstrap"
  33. icon: "internet-explorer"
  34. title: "Internet Explorer compatibility"
  35. content: "While 90% of Bulma works in IE11, Bootstrap has a better **compatibility** with this browser."
  36. - type: "bootstrap"
  37. icon: "list"
  38. title: "Additional elements"
  39. content: "Bootstrap has a few more **elements** like the [list group](http://getbootstrap.com/components/#list-group), [wells](http://getbootstrap.com/components/#wells), or the [page header](http://getbootstrap.com/components/#page-header)."
  40. ---
  41. <!DOCTYPE html>
  42. <html lang="en">
  43. <head>
  44. <meta charset="utf-8">
  45. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  46. <meta name="viewport" content="width=device-width, initial-scale=1">
  47. <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
  48. <title>Bulma: an alternative to Bootstrap</title>
  49. <link rel="stylesheet" href="{{ site.fontawesome }}">
  50. <link rel="stylesheet" href="{{ site.url }}/css/bulma-docs.css">
  51. <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.url }}">
  52. <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.url }}">
  53. <meta property="og:url" content="{{site.url}}">
  54. <meta property="og:type" content="website">
  55. <meta property="og:title" content="{{site.title}}">
  56. <meta property="og:image" content="{{site.url}}/images/bulma-banner.png">
  57. <meta property="og:image:type" content="image/png">
  58. <meta property="og:image:width" content="1200">
  59. <meta property="og:image:height" content="630">
  60. <meta property="og:description" content="{{site.description}}">
  61. <meta name="twitter:card" content="summary_large_image">
  62. <meta name="twitter:site" content="@jgthms">
  63. <meta name="twitter:creator" content="@jgthms">
  64. <meta name="twitter:title" content="{{site.title}}">
  65. <meta name="twitter:image" content="{{site.url}}/images/bulma-banner.png">
  66. <meta name="twitter:description" content="{{site.description}}">
  67. <link rel="apple-touch-icon" sizes="180x180" href="{{site.url}}/favicons/apple-touch-icon.png?v=201701041855">
  68. <link rel="icon" type="image/png" href="{{site.url}}/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
  69. <link rel="icon" type="image/png" href="{{site.url}}/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
  70. <link rel="manifest" href="{{site.url}}/favicons/manifest.json?v=201701041855">
  71. <link rel="mask-icon" href="{{site.url}}/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
  72. <link rel="shortcut icon" href="{{site.url}}/favicons/favicon.ico?v=201701041855">
  73. <meta name="msapplication-config" content="{{site.url}}/favicons/browserconfig.xml?v=201701041855">
  74. <meta name="theme-color" content="#00d1b2">
  75. </head>
  76. <body>
  77. <div class="container">
  78. {% include navbar.html id="Documentation" %}
  79. </div>
  80. <main class="bootstrap">
  81. <section class="hero is-medium">
  82. <div class="hero-body">
  83. <div class="container">
  84. <div class="columns is-vcentered">
  85. <div class="column">
  86. <h1 class="title">
  87. Bulma: an alternative to Bootstrap
  88. </h1>
  89. <p class="subtitle">
  90. Learn how Bulma can become a replacement for <a href="http://getbootstrap.com/" target="_blank">Bootstrap</a>
  91. </p>
  92. </div>
  93. <div class="column is-narrow">
  94. {% include carbon.html %}
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. </section>
  100. </main>
  101. <div class="section notification is-radiusless">
  102. <h2 class="subtitle">
  103. <div class="container">
  104. Both Bulma and Bootstrap are <strong>CSS frameworks</strong> that allow developers to quickly <strong>build web interfaces</strong> with ease. While they have fairly similar features, they still differ in some ways, and you might wonder why you should choose one framework over the other. This page is here to help answer that.
  105. </div>
  106. </h2>
  107. </div>
  108. <section class="section">
  109. <div class="container">
  110. <div class="columns is-desktop">
  111. <div class="column is-half-desktop">
  112. <h3 class="subtitle is-3 has-text-centered pros-heading">
  113. Why choose <strong>Bulma</strong>
  114. </h3>
  115. <figure class="pros-icon">
  116. {% include svg/bulma-b.svg %}
  117. </figure>
  118. <div class="pros-list">
  119. {% for pro in page.bulma %}
  120. {%
  121. include pro.html
  122. type=pro.type
  123. icon=pro.icon
  124. title=pro.title
  125. content=pro.content
  126. %}
  127. {% endfor %}
  128. </div>
  129. </div>
  130. <div class="column is-half-desktop">
  131. <h3 class="subtitle is-3 has-text-centered pros-heading">
  132. Why choose <strong>Bootstrap</strong>
  133. </h3>
  134. <figure class="pros-icon">
  135. {% include svg/bootstrap-icon.svg %}
  136. </figure>
  137. <div class="pros-list">
  138. {% for pro in page.bootstrap %}
  139. {%
  140. include pro.html
  141. type=pro.type
  142. icon=pro.icon
  143. title=pro.title
  144. content=pro.content
  145. %}
  146. {% endfor %}
  147. </div>
  148. </div>
  149. </div>
  150. </div>
  151. </section>
  152. <hr>
  153. <section class="section">
  154. <div class="container">
  155. <div class="comparison">
  156. <header class="comparison-header has-text-centered">
  157. <h2 class="title">
  158. Comparison table
  159. </h2>
  160. <p class="subtitle">
  161. See which elements of the framework exist (or not) in the other
  162. </p>
  163. </header>
  164. <table class="table is-bordered is-fullwidth">
  165. <thead>
  166. <tr>
  167. <th>{% include svg/bulma-b.svg %}Bulma</th>
  168. <th>{% include svg/bootstrap-icon.svg %}Bootstrap</th>
  169. </tr>
  170. </thead>
  171. <tfoot>
  172. <tr>
  173. <th>{% include svg/bulma-b.svg %}Bulma</th>
  174. <th>{% include svg/bootstrap-icon.svg %}Bootstrap</th>
  175. </tr>
  176. </tfoot>
  177. <tbody>
  178. {% include comparison.html %}
  179. </tbody>
  180. </table>
  181. </div>
  182. </div>
  183. </section>
  184. {% include footer.html %}
  185. </body>
  186. </html>