Last active
August 29, 2015 14:03
-
-
Save dechowdev/a13e06e6f019635da7e5 to your computer and use it in GitHub Desktop.
Base to use for every web project
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
//BASED ON: | |
//BOX-SIZING BORDER-BOX FTW: http://www.paulirish.com/2012/box-sizing-border-box-ftw/ | |
//CSS: Should we change the default for overflow?: http://bocoup.com/weblog/new-overflow-default/ | |
* { | |
overflow: auto; | |
} | |
*, *:before, *:after { | |
//IF COMPASS | |
//@include box-sizing(border-box); | |
} | |
*, *:before, *:after { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
//BASE CLASSES | |
//SEE THIS COMMENT FOR EXPLANATION: http://bocoup.com/weblog/new-overflow-default/#comment-1417588236 | |
.overflow-visible * { | |
overflow: visible; | |
} | |
.overflow-auto * { | |
overflow: auto; | |
} | |
.overflow-hidden * { | |
overflow: hidden; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment