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
/** | |
* border-box | |
*/ | |
* {box-sizing: border-box;} | |
.non-border-box { | |
box-sizing: content-box; | |
} | |
div { | |
border: 2px solid blue; |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.parent { | |
position:relative; | |
border: 1px solid red; | |
} | |
.child { |
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
// @Mixin Retina Sprite Sass | |
// ====================================================== | |
// This requires two folders full of *.png files, normal and then | |
// 2x resolution. Please ensure that they have the same number and names | |
// of files. | |
// I've written this based off other efforts on the web, but none did | |
// both background-images and a set of sprites automatically. | |
// Still very much a work in progress. | |
// To use see the bottom three lines. |
NewerOlder