Bulma CSS Framework: Introduction, Overview and Helpers

By Sruthy

By Sruthy

Sruthy, with her 10+ years of experience, is a dynamic professional who seamlessly blends her creative soul with technical prowess. With a Technical Degree in Graphics Design and Communications and a Bachelor’s Degree in Electronics and Communication, she brings a unique combination of artistic flair…

Learn about our editorial policies.
Updated November 3, 2024

Bulma CSS framework: This tutorial includes an introduction to Bulma – a free and open-source CSS framework used to build responsive web pages:

In this tutorial, we’ve covered what Bulma is, the advantages of Bulma, a comparison between Bulma and Bootstrap, how to include Bulma into your project, responsiveness, and several Bulma helpers.

Audience and Prerequisites:

This tutorial series is designed for a learner who wants to learn Bulma from the beginning.

CSS knowledge is not required to learn Bulma, but it is advantageous to have basic knowledge of HTML, CSS, and JavaScript for a better understanding.

We have divided the tutorial series into four tutorials. Each tutorial covers targeted topics with several illustrative examples.

Let’s begin by understanding what Bulma CSS Framework is!

Bulma Tutorial Introduction, Overview And Helpers

List of Tutorials in This Bulma Series

Tutorial #1 – Introduction, Overview, Mixins, and Helpers
Tutorial #2 – Columns, Layout, and Forms
Tutorial #3 – Elements and Components
Tutorial #4 – Interview Questions


Introduction to Bulma CSS Framework

What is Bulma

Bulma is a free, open-source, modern CSS framework that can be used to build responsive web pages. It is considered one of the best CSS Frameworks for frontend development. Bulma is based on Flexbox.

The creator of Bulma is Jeremy Thomas. Currently, versions older than 0.4.4 are not accessible, but later versions are available. Further, the Bulma source code is licensed under the MIT license.

Advantages of Bulma

There are several advantages of using Bulma as the front-end framework.

Some advantages are listed below:

  • Free and open source
  • Lightweight
  • Platform independent
  • Compatible with most modern browsers
  • Provides several ready-to-use components
  • A mobile-first framework
  • Easy to learn and use
  • Good documentation support
  • Customizable
  • JavaScript is not required to install
  • Provides a lot of useful helpers
  • Supports Font Awesome 4 and Font Awesome 5

Bulma vs Bootstrap

Bootstrap is the most popular CSS framework. Let’s see a brief comparison between Bulma and Bootstrap.

FeatureBulmaBootstrap
1Type of frameworkFront-end frameworkFront-end framework
2AvailabilityFree and open sourceFree and open source
3PopularityPopular, but not popular as BootstrapMost popular CSS framework
4Based onBased on flexboxBased on flexbox
5ResponsivenessHighly responsiveHighly responsive
6JavaScript elementsNo JavaScript elementsHas JavaScript elements
7Additional elementsNo elements like list group, wells, or page headerHas elements like list group, wells, or page header
8Internet Explorer compatibilityCompatible with Internet Explorer 11 (about 90% compatibility)Compatible with Internet Explorer 10-11
9Font Awesome compatibilityCompatible with Font AwesomeCompatible with Font Awesome
10AccessibilityLimited support for accessibilityMore support for accessibility
11Community supportSmaller community than BootstrapLarger community
12Availability of themes and pluginsLess availability of themes and plugins than BootstrapHigh availability of themes and plugins

Suggested Reading =>> Exclusive Bootstrap Tutorial

Useful Resources

The list below shows some of the useful resources to get in touch with Bulma:

Overview

Getting Started with Bulma

There are four options to include Bulma in your project. They are,

  • Option 1 (Recommended): Use a CDN
  • Option 2 (Recommended): Install the NPM package
  • Option 3: Download the Github release
  • Option 4: Clone the GitHub repository

Let’s look at each option in detail.

#1) Use a CDN

You can directly import the CSS file using the following code block. You need to add the Bulma CDN inside the <head> element.

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">

Let’s see an example:

<!DOCTYPE html>
<html>

<head>
<title>My Title</title>
<!--Bulma CDN-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
</head>

<body>
<div class="container">
  <h1 class="title">Welcome to Software Testing Help!!!</</h1>
</div>
</body>

</html>

The below screenshot shows the browser output of the above code.

Use a CDN

#2) Install the NPM Package

Run the following command on your terminal to install the Bulma NPM Package.

npm install Bulma

#3) Download the Github Release

You can visit this link to download the Github release of Bulma.

#4) Clone the GitHub Repository

You can clone the Bulma GitHub repository instead of downloading it. However, this repository also includes the official documentation of Bulma.

Run the following command on your terminal to clone the Bulma GitHub repository.

git clone https://github.com/jgthms/bulma.git

Responsiveness

Bulma is highly responsive as it is a mobile-first framework.

On mobile,

  • Columns are arranged vertically.
  • Children of the level component are arranged vertically.
  • Nav menu is hidden.

There are 5 breakpoints in Bulma:

  1. Mobile: Up to 768px
  2. Tablet: Between 769px and 1023px
  3. Desktop: Between 1024px and 1215px
  4. Widescreen: Between 1216px and 1407px
  5. FullHD: 1408px and upwards

There are 9 responsive mixins or 11 named mixins in Bulma.

The 9 responsive mixins (also named mixins) are:

  1. mobile: Styles applied until the tablet
  2. tablet: Styles applied from the tablet
  3. tablet-only: Styles applied from tablet and until desktop
  4. touch: Styles applied until the desktop
  5. desktop: Styles applied from desktop
  6. desktop-only: Styles applied from desktop and until widescreen
  7. widescreen: Styles applied from widescreen
  8. widescreen-only: Styles applied from widescreen and until fullhd
  9. fullhd: Styles applied from fullhd

The other 2 named mixins are:

  1. until-widescreen: Styles applied until widescreen
  2. until-fullhd:  Styles applied until fullhd

You can disable the widescreen and fullhd breakpoints as follows:

widescreen-enabled: false
fullhd-enabled: false

Colors

There are different color variations for elements and components, as shown in the below table. The syntax is is-$color, like is-primary, is-white, etc.

ColourVariableValueComputed valueInvert valueComputed invert value
1White$white$whitehsl (0, 0%, 100%)$blackhsl (0, 0%, 4%)
2Black$black$blackhsl (0, 0%, 4%)$whitehsl (0, 0%, 100%)
3Light$light$white-terhsl (0, 0%, 96%)$grey-darkerhsl (0, 0%, 21%)
4Dark$dark$grey-darkerhsl (0, 0%, 21%)$white-terhsl (0, 0%, 96%)
5Primary$primary$turquoisehsl (171, 100%, 41%)#fff#fff
6Link$link$bluehsl (217, 71%, 53%)#fff#fff
7Info$info$cyanhsl (204, 86%, 53%)#fff#fff
8Success$success$greenhsl (141, 53%, 53%)#fff#fff
9Warning$warning$yellowhsl (48, 100%, 67%)rgba (0, 0, 0, 0.7)rgba (0, 0, 0, 0.7)
10Danger$danger$redhsl (348, 100%, 61%)#fff#fff

There are different shades of grey for elements and components.

They are shown in the table below:

ColourVariableValue
1Black bis$black-bishsl (0, 0%, 7%)
2Black ter$black-terhsl (0, 0%, 14%)
3Grey darker$grey-darkerhsl (0, 0%, 21%)
4Grey dark$grey-darkhsl (0, 0%, 29%)
5Grey light$grey-lighthsl (0, 0%, 71%)
6Grey lighter$grey-lighterhsl (0, 0%, 86%)
7White ter$white-terhsl (0, 0%, 96%)
8White bis$white-bishsl (0, 0%, 98%)

Bulma Helpers

Colors

Text Colors

There are 10 colors and 9 shades of grey for text. They are shown in the below table:

ClassColourValue
1has-text-whiteWhitehsl (0, 0%, 100%)
2has-text-blackBlackhsl (0, 0%, 4%)
3has-text-lightLighthsl (0, 0%, 96%)
4has-text-darkDarkhsl (0, 0%, 21%)
5has-text-primaryPrimaryhsl (171, 100%, 41%)
6has-text-linkLinkhsl (217, 71%, 53%)
7has-text-infoInfohsl (204, 86%, 53%)
8has-text-successSuccesshsl (141, 71%, 48%)
9has-text-warningWarninghsl (48, 100%, 67%)
10has-text-dangerDangerhsl (348, 100%, 61%)
11has-text-black-bisBlack bishsl (0, 0%, 7%)
12has-text-black-terBlack terhsl (0, 0%, 14%)
13has-text-grey-darkerGrey darkerhsl (0, 0%, 21%)
14has-text-grey-darkGrey darkhsl (0, 0%, 29%)
15has-text-greyGreyhsl (0, 0%, 48%)
16has-text-grey-lightGrey lighthsl (0, 0%, 71%)
17has-text-grey-lighterGrey lighterhsl (0, 0%, 86%)
18has-text-white-terWhite terhsl (0, 0%, 96%)
19has-text-white-bisWhite bishsl (0, 0%, 98%)

Let’s see an example:

<!DOCTYPE html>
<html>

<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
</head>

<body>
<div class="container">
  <p class="has-text-white has-background-black">White text</p>
  <p class="has-text-black">Black text</p>
  <p class="has-text-light">Light text</p>
  <p class="has-text-dark">Dark text</p>
  <p class="has-text-primary">Primary text</p>
  <p class="has-text-link">Link text</p>
  <p class="has-text-info">Info text</p>
  <p class="has-text-success">Success text</p>
  <p class="has-text-warning">Warning text</p>
  <p class="has-text-danger">Danger text</p>
  <p class="has-text-black-bis">Black bis text</p>
  <p class="has-text-black-ter">Black ter text</p>
  <p class="has-text-grey-darker">Grey darker text</p>
  <p class="has-text-grey-dark">Grey dark text</p>
  <p class="has-text-grey">Grey text</p>
  <p class="has-text-grey-light">Grey light text</p>
  <p class="has-text-grey-lighter">Grey lighter text</p>
  <p class="has-text-white-ter">White ter text</p>
  <p class="has-text-white-bis">White bis text</p>
</div>
</body>

</html>

The below screenshot shows the browser output of the above code.

Text Colors

Background Colors

There are 10 colors and 9 shades of grey for the element background.

They are shown in the table below:

ClassColourValue
1has-background-whiteWhitehsl (0, 0%, 100%)
2has-background-blackBlackhsl (0, 0%, 4%)
3has-background-lightLighthsl (0, 0%, 96%)
4has-background-darkDarkhsl (0, 0%, 21%)
5has-background-primaryPrimaryhsl (171, 100%, 41%)
6has-background-linkLinkhsl (217, 71%, 53%)
7has-background-infoInfohsl (204, 86%, 53%)
8has-background-successSuccesshsl (141, 71%, 48%)
9has-background-warningWarninghsl (48, 100%, 67%)
10has-background-dangerDangerhsl (348, 100%, 61%)
11has-background-black-bisBlack bishsl (0, 0%, 7%)
12has-background-black-terBlack terhsl (0, 0%, 14%)
13has-background-grey-darkerGrey darkerhsl (0, 0%, 21%)
14has-background-grey-darkGrey darkhsl (0, 0%, 29%)
15has-background-greyGreyhsl (0, 0%, 48%)
16has-background-grey-lightGrey lighthsl (0, 0%, 71%)
17has-background-grey-lighterGrey lighterhsl (0, 0%, 86%)
18has-background-white-terWhite terhsl (0, 0%, 96%)
19has-background-white-bisWhite bishsl (0, 0%, 98%)

Let’s see an example:

<!DOCTYPE html>
<html>

<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
</head>

<body>
<div class="container">
 <p class="has-background-white">White background</p>
 <p class="has-background-black">Black background</p>
 <p class="has-background-light">Light background</p>
 <p class="has-background-dark">Dark background</p>
 <p class="has-background-primary">Primary background</p>
 <p class="has-background-link">Link background</p>
 <p class="has-background-info">Info background</p>
 <p class="has-background-success">Success background</p>
 <p class="has-background-warning">Warning background</p>
 <p class="has-background-danger">Danger background</p>
 <p class="has-background-black-bis">Black bis background</p>
 <p class="has-background-black-ter">Black ter background</p>
 <p class="has-background-grey-darker">Grey darker background</p>
 <p class="has-background-grey-dark has-text-white">Grey dark background</p>
 <p class="has-background-grey">Grey background</p>
 <p class="has-background-grey-light">Grey light background</p>
 <p class="has-background-grey-lighter">Grey lighter background</p>
 <p class="has-background-white-ter">White ter background</p>
 <p class="has-background-white-bis">White bis background</p>
</div>
</body>

</html>

The below screenshot shows the browser output of the above code.

Background Colors

Spacing

Bulma has margin (m*) and padding (p*) classes that can be used in all directions.

They are:

  1. *t for top
  2. *b for bottom
  3. *l for left
  4. *r for right
  5. *x for horizontal (both left and right)
  6. *y for vertical (both top and bottom)

For Example:

mt-* for margin-top

pr-* for padding-right

mx* for margin-left and margin-right

py* for padding-top and padding-bottom

There are 8 value suffixes for each direction:

  1. *-0 (0)
  2. *-1 (0.25rem)
  3. *-2 (0.5rem)
  4. *-3 (0.75rem)
  5. *-4 (1rem)
  6. *-5 (1.5rem)
  7. *-6 (3rem)
  8. *-auto (auto)

The table below shows all 112 spacing classes:

*-0*-1*-2*-3*-4*-5*-6auto
1mm-0m-1m-2m-3m-4m-5m-6m-auto
2mt mt-0mt-1mt-2mt-3mt-4mt-5mt-6mt-auto
3mrmr-0mr-1mr-2mr-3mr-4mr-5mr-6mr-auto
4mbmb-0mb-1mb-2mb-3mb-4mb-5mb-6mb-auto
5mlml-0ml-1ml-2ml-3ml-4ml-5ml-6ml-auto
6mxmx-0mx-1mx-2mx-3mx-4mx-5mx-6mx-auto
7mymy-0my-1my-2my-3my-4my-5my-6my-auto
8pp-0p-1p-2p-3p-4p-5p-6p-auto
9ptpt-0pt-1pt-2pt-3pt-4pt-5pt-6pt-auto
10prpr-0pr-1pr-2pr-3pr-4pr-5pr-6pr-auto
11pbpb-0pb-1pb-2pb-3pb-4pb-5pb-6pb-auto
12plpl-0pl-1pl-2pl-3pl-4pl-5pl-6pl-auto
13pxpx-0px-1px-2px-3px-4px-5px-6px-auto
14pypy-0py-1py-2py-3py-4py-5py-6py-auto

Let’s see an example:

<!DOCTYPE html>
<html>

<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
</head>

<body>
   <p class="mt-6">
    Margin top-6
   </p>

   <p class="px-2">
     Horizontal padding-2
   </p>

   <p class="mt-4 px-4">
     Margin top-4 and horizontal padding-4
   </p>
</body>

</html>

The below screenshot shows the browser output of the above code:

spacing

Typography

Size

There are 7 classes to change the font size as listed below:

  1. is-size-1: The font size is set to 3rem
  2. is-size-2: The font size is set to 2.5rem
  3. is-size-3: The font size is set to 2rem
  4. is-size-4: The font size is set to 1.5rem
  5. is-size-5: The font size is set to 1.25rem
  6. is-size-6: The font size is set to 1rem
  7. is-size-7: The font size is set to 0.75rem

Let’s see an example:

<!DOCTYPE html>
<html>

<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
</head>

<body>
<div class="container">
 <p class="is-size-1">Size 1</p>
 <p class="is-size-2">Size 2</p>
 <p class="is-size-3">Size 3</p>
 <p class="is-size-4">Size 4</p>
 <p class="is-size-5">Size 5</p>
 <p class="is-size-6">Size 6</p>
 <p class="is-size-7">Size 7</p>

</div>
</body>

</html>

The below screenshot shows the browser output of the above code:

Size

Responsive Size

You can use the below size classes for different viewport widths:

ClassMobile
(Up to 768px)
Tablet
(769px - 1023px)
Desktop
(1024px - 1215px)
Widescreen
(1216px - 1407px)
FullHD
(1408px and upwards)
1is-size-1-mobile 3rem no changeno changeno changeno change
2is-size-1-touch 3rem 3rem no changeno changeno change
3is-size-1-tablet no change3rem 3rem 3rem 3rem
4is-size-1-desktop no changeno change3rem 3rem 3rem
5is-size-1-widescreen no changeno changeno change3rem 3rem
6is-size-1-fullhd no changeno changeno changeno change3rem

This logic is applicable for all 7 sizes.

Alignment

There are 4 classes to change the text alignment as listed below:

  1. has-text-centered: Center the text
  2. has-text-justified: Justify the text
  3. has-text-left: Align the text to the left side
  4. has-text-right: Align the text to the right side

Let’s see an example:

<!DOCTYPE html>
<html>

<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
</head>

<body>
<div class="container">
  <p class="has-text-primary">Text centered</p>
  <p class="has-text-centered">...</p>
  <br>
  <p class="has-text-primary">Text justified</p>
  <p class="has-text-justified">...</p>
  <br>
  <p class="has-text-primary">Text left</p>
  <p class="has-text-left">...</p>
  <br>
  <p class="has-text-primary">Text right</p>
  <p class="has-text-right">...</p>
</div>
</body>

</html>

The below screenshot shows the browser output of the above code.

Alignment

Responsive Alignment

You can use the below alignment classes for different viewport widths:

ClassMobile
(Up to 768px)
Tablet
(769px - 1023px)
Desktop
(1024px - 1215px)
Widescreen
(1216px - 1407px)
FullHD
(1408px and upwards)
1has-text-left-mobile left-aligned no changeno changeno changeno change
2has-text-left-touch left-aligned left-aligned no changeno changeno change
3has-text-left-tablet-only no changeleft-aligned no changeno changeno change
4has-text-left-tablet no changeleft-aligned left-aligned left-aligned left-aligned
5has-text-left-desktop-only no changeno changeleft-aligned no changeno change
6has-text-left-desktop no changeno changeleft-aligned left-aligned left-aligned
7has-text-left-widescreen-only no changeno changeno changeleft-aligned no change
8has-text-left-widescreen no changeno changeno changeleft-aligned left-aligned
9has-text-left-fullhd no changeno changeno changeno changeleft-aligned

This logic is applicable for all 4 alignments.

Text Transformation

There are 5 classes to change the text transformation as listed below:

  1. is-capitalized: Display the first character of each word in uppercase
  2. is-lowercase: Display all characters in lowercase
  3. is-uppercase: Display all characters in uppercase
  4. is-italic: Display all characters in italic
  5. is-underlined: Underline the text

Let’s see an example:

<!DOCTYPE html>
<html>

<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
</head>

<body>
<div class="container">
 <p class="is-capitalized">Capitalized text</p>
 <p class="is-lowercase">Lowercase text</p>
 <p class="is-uppercase">Uppercase text</p>
 <p class="is-italic">Italic text</p>
 <p class="is-underlined">Underlined text</p>
</div>
</body>

</html>

The below screenshot shows the browser output of the above code:

Text Transformation

Text Weight

There are 5 classes to change the text weight as listed below:

  1. has-text-weight-light: The text weight is set to light
  2. has-text-weight-normal: The text weight is set to normal
  3. has-text-weight-medium: The text weight is set to medium
  4. has-text-weight-semibold: The text weight is set to semibold
  5. has-text-weight-bold: The text weight is set to bold

Let’s see an example:

<!DOCTYPE html>
<html>

<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
</head>

<body>
<div class="container">
 <p class="has-text-weight-light">Light text</p>
 <p class="has-text-weight-normal">Normal text</p>
 <p class="has-text-weight-medium">Medium text</p>
 <p class="has-text-weight-semibold">Semibold text</p>
 <p class="has-text-weight-bold">Bold text</p>
</div>
</body>

</html>

The below screenshot shows the browser output of the above code.

Text Weight

Font Family

There are 5 classes to change the font family as listed below:

  1. is-family-sans-serif: The font family is set to family-sans-serif
  2. is-family-monospace: The font family is set to family-monospace
  3. is-family-primary: The font family is set to family-primary
  4. is-family-secondary: The font family is set to family-secondary
  5. is-family-code: The font family is set to family-code

Let’s see an example:

<!DOCTYPE html>
<html>

<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
</head>

<body>
<div class="container">
 <p class="is-family-sans-serif">Sans serif font family</p>
 <p class="is-family-monospace">Monospace font family</p>
 <p class="is-family-primary">Primary font family</p>
 <p class="is-family-secondary">Secondary font family</p>
 <p class="is-family-code">Code font family</p>
</div>
</body>

</html>

The below screenshot shows the browser output of the above code:

Font Family

Visibility

Show

You can use the classes below to show the content.

  1. is-block
  2. is-flex
  3. is-inline
  4. is-inline-block
  5. is-inline-flex
ClassMobile
(Up to 768px)
Tablet
(769px - 1023px)
Desktop
(1024px - 1215px)
Widescreen
(1216px - 1407px)
FullHD
(1408px and upwards)
1is-flex-mobileflex no changeno changeno changeno change
2is-flex-tablet-onlyno changeflex no changeno changeno change
3is-flex-desktop-onlyno changeno changeflex no changeno change
4is-flex-widescreen-onlyno changeno changeno changeflex no change
5is-flex-touchflex flex no changeno changeno change
6is-flex-tabletno changeflex flex flex flex
7is-flex-desktopno changeno changeflex flex flex
8is-flex-widescreenno changeno changeno changeflex flex
9is-flex-fullhdno changeno changeno changeno changeflex

This logic is applicable to all display options.

Hide

You can use the below classes to hide the content.

  1. is-invisible: Hide the visibility
  2. is-hidden: Hide element visually and also not available for screen readers
  3. is-sr-only: Hide element visually but available for screen readers
ClassMobile
(Up to 768px)
Tablet
(769px - 1023px)
Desktop
(1024px - 1215px)
Widescreen
(1216px - 1407px)
FullHD
(1408px and upwards)
1is-hidden-mobilehidden visiblevisiblevisiblevisible
2is-hidden-tablet-onlyvisiblehidden visiblevisiblevisible
3is-hidden-desktop-onlyvisiblevisiblehidden visiblevisible
4is-hidden-widescreen-onlyvisiblevisiblevisiblehidden visible
5is-hidden-touchhidden hidden visiblevisiblevisible
6is-hidden-tabletvisiblehidden hidden hidden hidden
7is-hidden-desktopvisiblevisiblehidden hidden hidden
8is-hidden-widescreenvisiblevisiblevisiblehidden hidden
9is-hidden-fullhdvisiblevisiblevisiblevisiblehidden

Flexbox

There are several helpers available for flexbox properties. The is-flex class can be combined with all of the Flexbox CSS properties.

  • Flex direction

The applicable classes for flex-direction are listed below:

  1. is-flex-direction-row
  2. is-flex-direction-row-reverse
  3. is-flex-direction-column
  4. is-flex-direction-column-reverse
  • Flex wrap

The applicable classes for flex-wrap are listed below:

  1. is-flex-wrap-nowrap
  2. is-flex-wrap-wrap
  3. is-flex-wrap-wrap-reverse
  • Justify content

The applicable classes for justify-content are listed below:

  1. is-justify-content-flex-start
  2. is-justify-content-flex-end
  3. is-justify-content-center
  4. is-justify-content-space-between
  5. is-justify-content-space-around
  6. is-justify-content-space-evenly
  7. is-justify-content-start
  8. is-justify-content-end
  9. is-justify-content-left
  10. is-justify-content-right
  • Align content

The applicable classes for align-content are listed below:

  1. is-align-content-flex-start
  2. is-align-content-flex-end
  3. is-align-content-center
  4. is-align-content-space-between
  5. is-align-content-space-around
  6. is-align-content-space-evenly
  7. is-align-content-stretch
  8. is-align-content-start
  9. is-align-content-end
  10. is-align-content-baseline
  • Align items

The applicable classes for align-items are listed below:

  1. is-align-items-stretch
  2. is-align-items-flex-start
  3. is-align-items-flex-end
  4. is-align-items-center
  5. is-align-items-baseline
  6. is-align-items-start
  7. is-align-items-end
  8. is-align-items-self-start
  9. is-align-items-self-end
  • Align self

The applicable classes for align-self are listed below:

  1. is-align-self-auto
  2. is-align-self-flex-start
  3. is-align-self-flex-end
  4. is-align-self-center
  5. is-align-self-baseline
  6. is-align-self-stretch
  • Flex grow

The applicable classes for flex-grow are listed below:

  1. is-flex-grow-0
  2. is-flex-grow-1
  3. is-flex-grow-2
  4. is-flex-grow-3
  5. is-flex-grow-4
  6. is-flex-grow-5
  • Flex shrink

The applicable classes for flex-shrink are listed below:

  1. is-flex-shrink-0
  2. is-flex-shrink-1
  3. is-flex-shrink-2
  4. is-flex-shrink-3
  5. is-flex-shrink-4
  6. is-flex-shrink-5

More Helpers

Furthermore, you can use the following helper classes too:

  1. is-clearfix: Clear or fix its child elements
  2. is-pulled-left: Pull an element to the left side
  3. is-pulled-right: Pull an element to the right side
  4. is-overlay: Create an overlay effect
  5. is-clipped: Add overflow hidden
  6. is-radiusless: Remove the radius
  7. is-shadowless: Remove the shadow
  8. is-unselectable: Disable text selection
  9. is-clickable: Change the cursor on specific elements
  10. is-relative: Position the element relative to its normal position

Conclusion

Bulma is a popular, flexbox-based, mobile-first CSS framework. You can easily get started with Bulma, as it is free & open-source, and easy to learn & use.

There are four options to include Bulma in your project. Furthermore, there are over 100 helpers available for colors, spacing, typography, visibility, flexbox, etc.

Also Read =>> Top CSS Editor to edit the CSS code

Happy learning!

NEXT Tutorial>>

Was this helpful?

Thanks for your feedback!

Leave a Comment