--- title: Getting started with Bulma layout: documentation doc-tab: overview doc-subtab: start breadcrumb: - home - documentation - overview - overview-start ---

Bulma is a CSS library. This means it provides CSS classes to help you style your HTML code.
To use Bulma, you can either use the pre-compiled .css file or install the .sass files so you can customize it to your needs.

Get the Bulma CSS file

A single .css file that includes all of Bulma

Recommended Option 1. Use a CDN

You can import the CSS file directly from jsDelivr:

{% capture jsdelivr_a %} {% highlight css %}@import "https://cdn.jsdelivr.net/npm/bulma@{{ site.data.meta.version }}/css/bulma.min.css";{% endhighlight %} {% endcapture %} {% capture jsdelivr_b %} {% highlight html %}{% endhighlight %} {% endcapture %} {% include components/tabs.html button_a="CSS @import" button_b="HTML " item_a=jsdelivr_a item_b=jsdelivr_b %}

The RTL version is also available:

{% capture jsdelivr_rtl_a %} {% highlight css %}@import "https://cdn.jsdelivr.net/npm/bulma@{{ site.data.meta.version }}/css/bulma-rtl.min.css";{% endhighlight %} {% endcapture %} {% capture jsdelivr_rtl_b %} {% highlight html %}{% endhighlight %} {% endcapture %} {% include components/tabs.html button_a="CSS @import" button_b="HTML " item_a=jsdelivr_rtl_a item_b=jsdelivr_rtl_b %}

Bulma is also available via cdnjs.

Option 2. Download the Github release

You can get the latest Bulma release as a .zip from GitHub:
Download v{{ site.data.meta.version }}

Or

Get the Bulma Sass library

A collection of .sass files to build your own version of Bulma

Recommended Option 1. Install the NPM package

Bulma is available through npm:

{% capture npm_item %} {% highlight bash %}npm install bulma{% endhighlight %} {% endcapture %} {% capture yarn_item %} {% highlight bash %}yarn add bulma{% endhighlight %} {% endcapture %} {% include components/tabs.html button_a="npm" button_b="yarn" item_a=npm_item item_b=yarn_item %}

Bulma is also available via cdnjs.

Option 2. Clone the GitHub repository

Bulma is available on GitHub:

{% capture git_ssh %} {% highlight bash %}{{ site.data.meta.git_ssh }}{% endhighlight %} {% endcapture %} {% capture git_https %} {% highlight bash %}{{ site.data.meta.git_https }}{% endhighlight %} {% endcapture %} {% capture git_cli %} {% highlight bash %}{{ site.data.meta.git_cli }}{% endhighlight %} {% endcapture %} {% include components/tabs.html button_a="SSH" button_b="HTTPS" button_c="GitHub CLI" item_a=git_ssh item_b=git_https item_c=git_cli %}
Note that the GitHub repository also includes this documentation, so it’s significantly bigger than the NPM package.
{% include elements/anchor.html name="Code requirements" %}

For Bulma to work correctly, you need to make your webpage responsive.

1

Use the HTML5 doctype

{% highlight html %}{% endhighlight %}

2

Add the responsive viewport meta tag

{% highlight html %}{% endhighlight %}
{% include elements/anchor.html name="Starter template" %}

If you want to get started right away, you can use this HTML starter template. Just copy/paste this code in a file and save it on your computer.

{% highlight html %}{% include snippets/getting-started.html %}{% endhighlight %}
{% include elements/anchor.html name="bulma-start" %}

bulma-start is a tiny npm package that includes the npm dependencies you need to build your own website with Bulma.

Check it out