![]() |
VOOZH | about |
Bulma uses Sass mixins to create the CSS output and they are mainly used within the context of the Bulma framework.
In this article, we will learn about Bulma Responsive Breakpoints. Bulma supports 5 Breakpoints and these breakpoints are used by Bulma Responsive Mixins.
Following are Bulma Responsive Breakpoints as given below:
Following are the Bulma Responsive Mixins using the above-defined breakpoints.
For using mixins, there is no specific predefined class given by Bulma rather we create our own classes and style them using SASS mixins.
.bulma-[CSS Mixin Name]-mixin{
@include [CSS Mixin Name];
}
The above mixins do not accept any parameters.
Note: You must know the implementation of SASS mixins for the below examples. Please see the pre-requisite given on the link and then implement the below code.
Example 1: Below example illustrates the Bulma Responsiveness Breakpoints.
SCSS file:
CSS code:
Output:
Example 2: Below example illustrates another example of the Bulma Responsiveness Breakpoints.
SCSS file:
CSS code:
Output:
Example 3: Below example illustrates another example of the Bulma Responsiveness Breakpoints.
SCSS file:
CSS code:
Output: