Last active
August 29, 2015 13:56
-
-
Save bpainter/9169168 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
http://codepen.io/bpainter/pen/IkByq | |
A little nesting goes a long way. | |
http://codepen.io/bpainter/pen/aophg | |
- Only be as specific as you need to be. | |
- General rule of thumb - Don't nest more than 3 levels. It's a good indicator that you're being overly specific with your selectors. | |
- Always review your output (especially when you're first starting out). If the CSS being generated starts to look a bit off, review how you're writing your Sass. | |
http://codepen.io/bpainter/pen/fztwl |
Mixin vs Extend - Part 4
Functions
http://codepen.io/bpainter/pen/BtIiu
Directives - If
http://codepen.io/bpainter/pen/nJuHk
Each Loop
http://codepen.io/bpainter/pen/LaquJ
While Loop
http://codepen.io/bpainter/pen/mIvjx
Media Queries - Simple
http://codepen.io/bpainter/pen/zjJvG
Media Queries - Super smooth
http://codepen.io/bpainter/pen/rJeLA
StackIcons, related to mapping svg to keycodes: http://css-tricks.com/stackicons-icon-fonts/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mixin vs Extend - Part 3
http://codepen.io/bpainter/pen/rnHgt