bulma/docs/alternative-to-bootstrap.html

138 lines
5.3 KiB
HTML
Raw Normal View History

2017-07-30 14:11:22 +00:00
---
2018-04-10 17:50:19 +00:00
fulltitle: "Bulma: an alternative to Bootstrap"
layout: more
breadcrumb:
- home
- more
- bootstrap
2017-07-31 15:06:31 +00:00
bulma:
- type: "bulma"
icon: "css3"
2018-01-10 16:30:23 +00:00
icon_brand: true
2017-07-31 15:06:31 +00:00
title: "Modern features"
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."
- type: "bulma"
icon: "pause"
title: "Simple grid system"
content: "To build a Bulma grid, you only need a single `.columns` container to wrap as many `.column` items as you want."
- type: "bulma"
icon: "heart"
title: "Easy-to-learn syntax"
2020-06-08 09:57:35 +00:00
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/overview/modifiers/)"
2017-07-31 15:06:31 +00:00
- type: "bulma"
2018-01-10 16:30:23 +00:00
icon: "font-awesome"
icon_brand: true
title: "Font Awesome 5 support"
content: "Bulma is compatible with both [Font Awesome 4](http://fontawesome.io/) and [Font Awesome 5](https://fontawesome.com/) thanks to the `.icon` element."
2017-07-31 15:06:31 +00:00
- type: "bulma"
icon: "plus"
title: "100+ useful CSS helpers"
2020-06-08 09:57:35 +00:00
content: 'Bulma ships with more than **100 helpers** to specify color, display, and spacing.<br>[Responsive helpers](/documentation/helpers/visibility-helpers/) <span class="separator"></span> [Typography helpers](/documentation/helpers/typography-helpers/) <span class="separator"></span> [Other helpers](/documentation/helpers/)'
2017-07-31 15:06:31 +00:00
- type: "bulma"
icon: "code"
title: "No JavaScript"
2018-04-10 17:50:19 +00:00
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>'
2017-07-31 15:06:31 +00:00
bootstrap:
- type: "bootstrap"
icon: "plug"
title: "jQuery plugins"
content: "Bootstrap includes useful jQuery plugins to add **interaction** to your website."
2017-07-31 19:58:30 +00:00
- type: "bootstrap"
icon: "users"
title: "Big community"
content: "Considering how long it has been around, Bootstrap has a **larger community** than Bulma. As a result, more tools (like theming and plugins) are available, and more questions are answered around the internet."
2017-07-31 15:06:31 +00:00
- type: "bootstrap"
icon: "internet-explorer"
2018-01-10 16:30:23 +00:00
icon_brand: true
2017-07-31 15:06:31 +00:00
title: "Internet Explorer compatibility"
content: "While 90% of Bulma works in IE11, Bootstrap has better **compatibility** with this browser."
2017-07-31 15:06:31 +00:00
- type: "bootstrap"
icon: "list"
title: "Additional elements"
2017-11-10 10:34:12 +00:00
content: "Bootstrap has some **elements** like [list group](https://getbootstrap.com/components/#list-group), [wells](https://getbootstrap.com/components/#wells), or [page header](https://getbootstrap.com/components/#page-header) that Bulma doesn't have."
- type: "bootstrap"
icon: "universal-access"
title: "Accessibility"
content: "Bulma has introduced some support for accessibility, but Bootstrap has strong and pervasive compatibility with **WCAG 2.0** guidelines."
2017-07-30 14:11:22 +00:00
---
2018-04-10 17:50:19 +00:00
<div class="bd-bootstrap-message notification is-radiusless">
<h2 class="subtitle">
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.
</h2>
</div>
<div class="bd-bootstrap-table">
<div class="columns is-desktop">
<div class="column is-half-desktop">
<h3 class="subtitle is-3 has-text-centered pros-heading">
Why choose <strong>Bulma</strong>
</h3>
<figure class="bd-pros-icon">
{% include svg/bulma-b.svg %}
</figure>
<div class="bd-pros-list">
{% for pro in page.bulma %}
{%
include content/pro.html
type=pro.type
icon=pro.icon
icon_brand=pro.icon_brand
title=pro.title
content=pro.content
%}
{% endfor %}
2017-07-31 16:32:41 +00:00
</div>
2018-04-10 17:50:19 +00:00
</div>
2017-07-31 16:32:41 +00:00
2018-04-10 17:50:19 +00:00
<div class="column is-half-desktop">
<h3 class="subtitle is-3 has-text-centered pros-heading">
Why choose <strong>Bootstrap</strong>
</h3>
<figure class="bd-pros-icon">
{% include svg/bootstrap-icon.svg %}
</figure>
<div class="bd-pros-list">
{% for pro in page.bootstrap %}
{%
include content/pro.html
type=pro.type
icon=pro.icon
icon_brand=pro.icon_brand
title=pro.title
content=pro.content
%}
{% endfor %}
2017-07-31 15:06:31 +00:00
</div>
2018-04-10 17:50:19 +00:00
</div>
</div>
</div>
<div class="bd-bootstrap-comparison">
<header class="bd-bootstrap-comparison-header has-text-centered">
<h2 class="title">
Comparison table
</h2>
<p class="subtitle">
See which elements of the framework exist (or not) in the other
</p>
</header>
<table class="table is-bordered is-fullwidth">
<thead>
<tr>
<th>{% include svg/bulma-b.svg %}Bulma</th>
<th>{% include svg/bootstrap-icon.svg %}Bootstrap</th>
</tr>
</thead>
<tfoot>
<tr>
<th>{% include svg/bulma-b.svg %}Bulma</th>
<th>{% include svg/bootstrap-icon.svg %}Bootstrap</th>
</tr>
</tfoot>
<tbody>
{% include content/comparison.html %}
</tbody>
</table>
</div>