Files
freeCodeCamp/guide/english/bulma/get-started/index.md
Randell Dawson 0a1eeea424 fix(guide) Replace invalid prism code block names (#35961)
* fix: replace sh with shell

fix replace terminal with shell

fix replace node with js

fix replace output with shell

fix replace cs with csharp

fix replace c++ with cpp

fix replace c# with csharp

fix replace javasctipt with js

fix replace syntax  with js

fix replace unix with shell

fix replace linux with shell

fix replace java 8 with java

fix replace swift4 with swift

fix replace react.js with jsx

fix replace javascriot with js

fix replace javacsript with js

fix replace c++ -  with cpp

fix: corrected various typos

fix: replace Algorithm with nothing

fix: replace xaml with xml

fix: replace solidity with nothing

fix: replace c++ with cpp

fix: replace txt with shell

fix: replace code with json and css

fix: replace console with shell
2019-05-15 19:08:19 +02:00

1.6 KiB

title
title
Get Started

Get Started

There are several ways to get started with Bulma.

  • Installing the Bulma package with npm
  • Using a CDN to link to the Bulma stylesheet.
  • Use the GitHub Repository to get the latest development version.
  1. Using npm
$ npm install bulma
  1. Use the cdnjs CDN https://cdnjs.com/libraries/bulma

  2. Download from the repository https://github.com/jgthms/bulma/tree/master/css

Code requirements

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

  1. Use HTML5 doctype
<!DOCTYPE html>
  1. Add the responsive viewport meta tag
<meta name="viewport" content="width=device-width, initial-scale=1">
  1. Starter Template
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Hello Bulma!</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.min.css">
    <script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
  </head>
  <body>
  <section class="section">
    <div class="container">
      <h1 class="title">
        Hello World
      </h1>
      <p class="subtitle">
        My first website with <strong>Bulma</strong>!
      </p>
    </div>
  </section>
  </body>
</html>

Bulma-start

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

Further References: