![]() |
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 know about Bulma Responsive Disabling Breakpoints. Bulma supports a few auto-enabled breakpoints and these are the following auto-enabled Bulma Responsive Breakpoints.
Bulma Responsive Breakpoints:
Syntax: To disable breakpoints
$[Breakpoint-Name]-enabled: false
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.
Syntax:
.bulma-[Mixin Name]-mixin
{
@include [Mixin Name];
}
Parameters: 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 without disabling any breakpoints.
SCSS file:
CSS code:
Output:
Example 2: Below example illustrates another example of the Bulma Responsiveness Disabling Breakpoints.
SCSS file:
CSS code:
Output:
Reference: https://versions.bulma.io/0.7.5/documentation/overview/responsiveness/#disabling-breakpoints