
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Bulma is a modern CSS framework based on Flexbox. It provides a set of responsive, mobile-first components that are easy to use and customize. Bulma is known for its simplicity and ease of use, making it a popular choice for developers looking to quickly build responsive web interfaces.
Grid System
Bulma's grid system is based on Flexbox, allowing for easy creation of responsive layouts. The 'columns' class creates a flex container, and each 'column' class creates a flex item.
<div class="columns">
<div class="column">First column</div>
<div class="column">Second column</div>
<div class="column">Third column</div>
<div class="column">Fourth column</div>
</div>
Navigation Bar
Bulma provides a responsive navigation bar component that can be easily customized. The 'navbar' class creates the navigation bar, and 'navbar-item' is used for individual items within the bar.
<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item" href="/">
<img src="https://bulma.io/images/bulma-logo.png" width="112" height="28">
</a>
</div>
<div class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item" href="/">
Home
</a>
<a class="navbar-item" href="/">
Documentation
</a>
</div>
</div>
</nav>
Cards
Bulma's card component is a flexible and extensible content container. It includes options for images, media, and various content sections.
<div class="card">
<div class="card-image">
<figure class="image is-4by3">
<img src="https://bulma.io/images/placeholders/1280x960.png" alt="Placeholder image">
</figure>
</div>
<div class="card-content">
<div class="media">
<div class="media-left">
<figure class="image is-48x48">
<img src="https://bulma.io/images/placeholders/96x96.png" alt="Placeholder image">
</figure>
</div>
<div class="media-content">
<p class="title is-4">John Smith</p>
<p class="subtitle is-6">@johnsmith</p>
</div>
</div>
<div class="content">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec iaculis mauris.
<a>@bulmaio</a>.
<a href="#">#css</a> <a href="#">#responsive</a>
<br>
<time datetime="2016-1-1">11:09 PM - 1 Jan 2016</time>
</div>
</div>
</div>
Bootstrap is one of the most popular CSS frameworks. It provides a comprehensive set of components and utilities for building responsive, mobile-first websites. Compared to Bulma, Bootstrap has a larger community and more extensive documentation, but Bulma is often praised for its simplicity and ease of use.
Foundation is a responsive front-end framework similar to Bulma. It offers a range of components and a flexible grid system. Foundation is known for its advanced features and customization options, making it a good choice for complex projects, whereas Bulma is often preferred for its straightforward approach.
Tailwind CSS is a utility-first CSS framework that allows for rapid UI development. Unlike Bulma, which provides pre-designed components, Tailwind focuses on low-level utility classes that can be composed to build custom designs. This makes Tailwind highly flexible but requires a different approach to styling compared to Bulma.
Bulma is a modern CSS framework based on Flexbox.
Bulma is constantly in development! Try it out now:
npm install bulma
or
yarn add bulma
bower install bulma
After installation, you can import the CSS file into your project using this snippet:
import 'bulma/css/bulma.css'
https://cdnjs.com/libraries/bulma
Feel free to raise an issue or submit a pull request.
Bulma is a CSS framework. As such, the sole output is a single CSS file: bulma.css
You can either use that file, "out of the box", or download the Sass source files to customize the variables.
There is no JavaScript included. People generally want to use their own JS implementation (and usually already have one). Bulma can be considered "environment agnostic": it's just the style layer on top of the logic.
Bulma uses autoprefixer to make (most) Flexbox features compatible with earlier browser versions. According to Can I use, Bulma is compatible with recent versions of:
Internet Explorer (10+) is only partially supported.
The documentation resides in the docs directory, and is built with the Ruby-based Jekyll tool.
Browse the online documentation here.
Project | Description |
---|---|
Bulma with Attribute Modules | Adds support for attribute-based selectors. |
Bulma with Rails | Integrates Bulma with the rails asset pipeline |
Vue Admin | Vue Admin framework powered by Bulma |
Bulmaswatch | Free themes for Bulma |
Goldfish | Vault UI with Bulma, Golang, and Vue Admin |
ember-bulma | Ember addon providing a collection of UI components for Bulma |
Bloomer | A set of React components for Bulma |
Re-bulma | Bulma components build with React |
React-bulma | React.js components for Bulma |
Buefy | Lightweight UI components for Vue.js based on Bulma |
vue-bulma-components | Bulma components for Vue.js with straightforward syntax |
BulmaJS | Javascript integration for Bulma. Written in ES6 with a data-* API |
Bulma.styl | 1:1 Stylus translation of Bulma |
elm-bulma | Bulma + Elm |
elm-bulma-classes | Bulma classes prepared for usage with Elm |
Bulma Customizer | Bulma Customizer – Create your own bespoke Bulma build |
Fulma | Wrapper around Bulma for fable-react |
Laravel Enso | SPA Admin Panel built with Bulma, VueJS and Laravel |
Django Bulma | Integrates Bulma with Django |
Bulma Templates | Free Templates for Bulma |
React Bulma Components | Another React wrap on React for Bulma.io |
purescript-bulma | PureScript bindings for Bulma |
Vue Datatable | Bulma themed datatable based on Vue, Laravel & JSON templates |
bulma-fluent | Fluent Design Theme for Bulma inspired by Microsoft’s Fluent Design System |
Code copyright 2018 Jeremy Thomas. Code released under the MIT license.
0.7.0
$widescreen-enabled
and $fullhd-enabled
: you can set them to false
to disable each breakpoint$control-border-width
and $button-border-width
$custom-colors
and $custom-shades
variable for adding your own colors and shades to Bulma's $colors
and $shades
maps respectively$card-header-background-color
, $card-content-background-color
and $card-footer-background-color
to allow different background customization for card elements.is-expanded
modifier to .buttons.has-addons
.has-background
helpers for block background colors, like .has-text
is-text-right
precedence over is-text-left-mobile
.tag
.content
by defaultmedia-content
overflowFAQs
Modern CSS framework based on Flexbox
The npm package bulma receives a total of 162,908 weekly downloads. As such, bulma popularity was classified as popular.
We found that bulma demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.