Getting started

You only need 1 CSS file to use Bulma

There are several ways to get started with Bulma. You can either:

  1. use npm to install the Bulma package
  2. use the cdnjs CDN to link to the Bulma stylesheet
  3. use the GitHub repository to get the latest development version

1 Use NPM (recommended):

$ npm install bulma
<link rel="stylesheet" href="">

Code requirements

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

Use the HTML5 doctype

<!DOCTYPE html>

Add the responsive viewport meta tag

<meta name="viewport" content="width=device-width, initial-scale=1">

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.

<!DOCTYPE html>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Hello Bulma!</title>
    <link rel="stylesheet" href="">
    <link rel="stylesheet" href="">
  <section class="section">
    <div class="container">
      <h1 class="title">
        Hello World
      <p class="subtitle">
        My first website with <strong>Bulma</strong>!

Modifiers syntax

Most Bulma elements have alternative styles. To apply them, you only need to append one of the modifier classes. 
They all start with is- or has-.

For more options:

Categories: Tools - CSS


Leave a Reply

Your email address will not be published. Required fields are marked *