Bulma
Bulma is a free, open source framework that provides ready-to-use frontend components that you can easily combine to build responsive web interfaces.
Some useful classes
Layout
-
container: Centers content with some margin on the sides for bigger screens. Apply at top. -
level: A collection of vertically aligned items on a horizontal line.level is-mobile has-text-centered: Similar to flex align and justify center on all screenslevel-item: Level children classlevel-left: To have children float left (on an intermediate element betweenlevelandlevel-item)level-right: To have children float right (same as above)
-
hero: Full-width bannerhero is-fullheight: Self-evidenthero-body: Is where inner content goes
-
section: Logical parts as direct children ofbodyelem -
footer: Container with padding at bottom -
columns: Other frameworks call it “rows”. You get the picture.is-mobile: to have columns spread out like desktop (instead of stacked on) on small devicesis-vcentered: to vertically align if non-uniform height in a rowis-multiline: wrap around below instead of shrinking or stretchingis-centered: Align all columns to center, useful withis-mobileand non-full-width columnscolumn: Children of rows, er,columns. Can be nested.is-<x>: wherexis a number between 1 to 12. Defines the width of column.is-half: Half width column, same asis-6
Elements
-
box: A white container with some padding and shadow. Useful for holding stuff. -
button: Self-explainatory stuffis-[primary | secondary | info | success | warning | danger]is-outlined,is-rounded,disabledis-loading: Adds a spinner to the button
-
image: For responsive imagesis-roundedis-<x>by<y>: x and y define a ratio with values in 1,2,3,4,5,9,16.
-
table,tag,notification,delete,title | subtitle,progressetc