Created
March 9, 2015 23:46
-
-
Save flores8/305997c9a610848b5087 to your computer and use it in GitHub Desktop.
If you're following my "Your First Website" posts on lauraleeflores.com (http://lauraleeflores.com/blog/your-first-website-part-1) these are some default spacing styles I apply to most projects. It's a quick and easy way to add white space to your web projects.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Top and Bottom Spacers */ | |
.big-spacer { | |
padding: 7rem 0; | |
} | |
.medium-spacer { | |
padding: 4rem 0; | |
} | |
.small-spacer { | |
padding: 2rem 0; | |
} | |
.mini-spacer { | |
padding: 1rem 0; | |
} | |
/* Top Spacers */ | |
.big-spacer-top { | |
padding-top: 7rem; | |
} | |
.medium-spacer-top { | |
padding-top: 4rem; | |
} | |
.small-spacer-top { | |
padding-top: 2rem; | |
} | |
.mini-spacer-top { | |
padding-top: 1rem; | |
} | |
/* Bottom Spacers */ | |
.big-spacer-bottom { | |
padding-bottom: 7rem; | |
} | |
.medium-spacer-bottom { | |
padding-bottom: 4rem; | |
} | |
.small-spacer-bottom { | |
padding-bottom: 2rem; | |
} | |
.mini-spacer-bottom { | |
padding-bottom: 1rem; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment