Throughout the codebase, Bulma uses Sass mixins to enhance and facilitate the CSS output. While these mixins are mainly used within the context of Bulma, they are of course available for you to re-use in your own projects.
--- title: Mixins layout: documentation doc-tab: utilities doc-subtab: mixins breadcrumb: - home - documentation - utilities - utilities-mixins ---
Throughout the codebase, Bulma uses Sass mixins to enhance and facilitate the CSS output. While these mixins are mainly used within the context of Bulma, they are of course available for you to re-use in your own projects.
The arrow()
mixin creates a down-facing arrow. The $color
parameter defines the color of the arrow.
The hamburger()
mixin creates a 16x16px set of 3 horizontal bars grouped within square. The dimensions of this square are defined by the $dimensions
parameter.
The delete()
mixin creates a 20x20px circle containing a cross. It comes with 3 modifiers: is-small
, is-medium
and is-large
.