0.3.6 • Published 5 years ago

bulma-utilities v0.3.6

Weekly downloads
71
License
MIT
Repository
github
Last release
5 years ago

Bulma Utilities

Bulma Utilities is a Bulma Framework extension that add tons of utility classes.

Installation

NPM

npm install bulma-utilities

If you have custom Bulma variables, you can import bulma-utilities.sass after your variables file and it will use your custom $sizes and $colors lists.

Documentation

Bulma Utilities website and full documentation is currently a work in progress (just like the extension itself), however a preview will be displayed here.

Utility Classes

Chart legend: {x} - is a number that represents the position in $sizes (Bulma's derived variable) array (Example: has-margin-3){d} - is a letter that represents the direction, b stands for bottom, l for left, r for right and t for top (b, l, r, t, bl, br, bt, lr, lt, rt, blr, blt, brt, lrt) (Example: has-margin-b-3){c} - is the color used in the class (Example: has-bg-primary)

ClassDescription
has-margin-{x}Adds margin to element
has-margin-{d}-{x}Adds margin to element in respective direction
has-padding-{x}Adds padding to element
has-padding-{d}-{x}Adds padding to element in respective direction
is-paddingless-{d}Removes padding in respective direction
is-marginless-{d}Removes margin in respective direction
has-bg-{c}Changes background color to respective color
is-clickableChanges cursor to pointer
is-zoom-inChanges cursor to zoom-in
is-zoom-outChanges cursor to zoom-out
is-cellChanges cursor to cell
is-not-allowedChanges cursor to not-allowed
can-moveChanges cursor to move
is-waitingChanges cursor to wait
has-margin-x-autoAdds 'margin: 0 auto' to element
hide-overflowHides overflow
hide-overflow-xHides horizontal overflow
hide-overflow-yHides vertical overflow
has-position-absoluteAdds position absolute to element
has-position-relativeAdds position relative to element
has-position-fixedAdds position fixed to element
has-flex-center-itemsAdds display flex and align-items center
has-flex-start-itemsAdds display flex and align-items flex-start
has-flex-end-itemsAdds display flex and align-items flex-end
has-border-dashedAdds 'dashed' style to border
has-border-dottedAdds 'dotted' style to border
has-border-doubleAdds 'double' style to border
has-border-hiddenAdds 'hidden' style to border
has-border-solidAdds 'solid' style to border
is-circleMakes element circular adding border-radius: 60px
unbreakable-textMakes text don't break lines
has-text-underlinedAdds 'text-decoration: underline' to element

Copyright and license

Code copyright 2019 Matheus Madeira. Code released under the MIT license.

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago