Skip to content

Instantly share code, notes, and snippets.

@mplatts

mplatts/boot-4-cheat.txt

Last active Sep 27, 2015
Embed
What would you like to do?
Bootstrap 4 cheatsheet
a - all
t - top
b - bottom
l - left
r - right
x - left and right
y - top and bottom
m-t = margin-top: 1em
m-t-md = margin-top: 1.5em
m-t-lg = margin-top: 3em
m-a-0 = margin: 0;
Padding is same but with `p` at the front
`hidden-sm-down` = Hides from sm down (sm and xs)
`hidden-sm-up` = Hides from sm up (sm, md, lg)
clearfix
center-block
pull-left = float left
pull-right = float right
text-left = text-align: left
text-md-left = for md and up
text-right
text-center
text-justify
text-nowrap
text-truncate
text-lowercase
text-uppercase
text-capitalize
text-muted = makes it lighter grey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.