Bulma

  • Last Updated : 31 Jan, 2022

Bulma is an Open source CSS framework developed by Jeremy Thomas. This framework is based on the CSS Flexbox property. It is highly responsive, minimizing the use of media queries for responsive behavior.

Bulma-Tutorial

Why Bulma?

  • It is easy to learn.
  • Responsive design for all devices(desktops, tablets, and mobiles).
  • Easy to read and write the code.
  • It can be combined with any JavaScript framework (AngularJS, ReactJS).
  • It is customizable and modularizable.
  • It is a lightweight, modern CSS framework, which uses Flexbox.

Now let’s understand the working of it using an example.

Example: The below example illustrates the text transformation class.

HTML

<!DOCTYPE html>
<html>

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

<body class="has-text-centered">
    <h1 class="is-size-2 has-text-success">
        GeeksforGeeks
    </h1>

    <b>Bulma Text transformation</b>
    <br>
    <div class="container">
        <p class="is-capitalized is-size-4">
            geeksforGeeks
        </p>

        <p class="is-lowercase is-size-4">
            GeeksforGeeks
        </p>

        <p class="is-uppercase is-size-4">
            GeeksforGeeks
        </p>

        <p class="is-italic is-size-4">
            GeeksforGeeks
        </p>

        <p class="is-underlined is-size-4">
            GeeksforGeeks
        </p>
    </div>
</body>

</html>

Output:

Image

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above


My Personal Notes arrow_drop_up


Writing code in comment? Please use ide.geeksforgeeks.org, generate link and share the link here.