The .container
class is used to center and constrain the content within a page.
Usage:
<div class="container">
...
</div>
A comprehensive cheat sheet for the Bulma CSS framework, covering its key components, modifiers, and utilities for building responsive web layouts.
The Usage:
|
You can use Usage:
|
Bulma uses a column-based layout system. Start with a Usage:
|
Columns are automatically equal width. You can specify the width using Example:
|
To make columns stack on smaller screens, use the Usage:
|
The Usage:
|
Use Example:
|
Basic text input: Usage:
|
Different states can be added using modifiers:
Example:
|
To show a loading state, use Example:
|
Basic select dropdown: Usage:
|
Use the Example:
|
Basic textarea: Usage:
|
States like Example:
|
Basic checkbox: Usage:
|
Basic radio button: Usage:
|
The Usage:
|
Basic button: Usage:
|
Different styles can be applied using modifiers like Example:
|
Sizes can be adjusted using Example:
|
To make a button full width, use Example:
|
A button can be disabled using the Example:
|
To display a responsive image: Usage:
|
Different aspect ratios can be achieved using classes like Example:
|
To display a notification message: Usage:
|
You can modify the notification style using classes like Example:
|
Bulma provides several helper classes for typography:
|
Example:
|
Bulma provides a set of color modifiers:
|
Example:
|
Example:
|
Bulma provides spacing helpers using the
followed by:
|
Example:
|
Bulma is responsive by default. You can use breakpoint-specific classes to control visibility:
And so on for inline, inline-block, flex, inline-flex. |
Example:
|