GithubHelp home page GithubHelp logo

msmadeira / bulma-utilities Goto Github PK

View Code? Open in Web Editor NEW
35.0 0.0 8.0 43 KB

Bulma’s extension to add utility classes

License: MIT License

CSS 100.00%
css bulma-css-framework bulma-extension utility-classes sass

bulma-utilities's Introduction

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

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)

Class Description
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-clickable Changes cursor to pointer
is-zoom-in Changes cursor to zoom-in
is-zoom-out Changes cursor to zoom-out
is-cell Changes cursor to cell
is-not-allowed Changes cursor to not-allowed
can-move Changes cursor to move
is-waiting Changes cursor to wait
has-margin-x-auto Adds 'margin: 0 auto' to element
hide-overflow Hides overflow
hide-overflow-x Hides horizontal overflow
hide-overflow-y Hides vertical overflow
has-position-absolute Adds position absolute to element
has-position-relative Adds position relative to element
has-position-fixed Adds position fixed to element
has-flex-center-items Adds display flex and align-items center
has-flex-start-items Adds display flex and align-items flex-start
has-flex-end-items Adds display flex and align-items flex-end
has-border-dashed Adds 'dashed' style to border
has-border-dotted Adds 'dotted' style to border
has-border-double Adds 'double' style to border
has-border-hidden Adds 'hidden' style to border
has-border-solid Adds 'solid' style to border
is-circle Makes element circular adding border-radius: 60px
unbreakable-text Makes text don't break lines
has-text-underlined Adds 'text-decoration: underline' to element

Copyright and license

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

bulma-utilities's People

Contributors

dinuz avatar matheusmadeira avatar msmadeira avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bulma-utilities's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.