Bulma cheatsheet

Screen sizes

         768         1024                1216         1408
'     '     '     '     '     '     '     '     '     '     '     '
<---------^------------^------------------^-------------^------------->
  mobile      tablet         desktop         widescreen      fullhd

Columns

.container

Wrap as many .column’s’ as you like in a .columns wrapper

<div class="columns">
    <div class="column"></div>
    <div class="column"></div>
    <div class="column"></div>
    <div class="column"></div>
    <div class="column"></div>
</div>

Modifiers

The following CSS classes affect the colour.

.is-primary
.is-link
.is-info
.is-success
.is-warning
.is-danger

The following classes modify the size.

.is-small
.is-medium
.is-large

The following classes modify the state.

.is-outlined
.is-loading

Typography Helpers

The following classes modify the font-size

.is-size-13rem
.is-size-22.5rem
.is-size-32rem
.is-size-41.5rem
.is-size-51.25rem
.is-size-61rem
.is-size-70.75rem

The following classes align the text

.has-text-centeredMakes the text centered
.has-text-justifiedMakes the text justified
.has-text-left.Makes the text align to the left
.has-text-rightMakes the text align to the right

The following classes transform the text

.is-capitalizedTransforms the first character of each word to uppercase
.is-lowercaseTransforms all characters to lowercase
.is-uppercaseTransforms all characters to uppercase

WYSIWYG Content

<div class="content">
  <!-- start WYSIWYG contents -->
  <h1>Heading</h1>
  <p>Paragraph</p>

  <ul>
    <li>Item 1</li>
    <li>Item 2</li>
  </ul>
  <!-- end WYSIWYG contents -->
</div>

To provide default stylings for commonly generated WYSIWYG contents, use the .content class.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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