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
/** | |
* Micro Clearfix IE8+ | |
*/ | |
.bg { | |
background: red; | |
} | |
.cf:after{ | |
content: ""; | |
display: table; |
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 | |
*/ | |
.segoe { | |
font-family: "Segoe UI", sans-serif; | |
} | |
h1 { | |
font-family: sans-serif; |
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
/* Gradient Box Shadow */ | |
body { | |
font: 16px/24px Helvetica Neue, Helvetica, sans-serif; | |
color: hsl(210, 8%, 55%); | |
background-color: hsl(210,10%,95%); | |
text-shadow: 0 1px 0 white; | |
-webkit-font-smoothing: antialiased; | |
} |
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
/** | |
* Perfect Page Layout | |
*/ | |
* { | |
box-sizing: border-box; | |
} | |
html { | |
margin: 0; |
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
Show hidden characters
{ | |
// Enforcing | |
"bitwise": true, | |
"camelcase": false, | |
"eqeqeq": true, | |
"forin": false, | |
"immed": false, | |
"latedef": false, | |
"newcap": false, | |
"noarg": true, |
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
/** | |
* Flipboard Page 3D | |
*/ | |
body { | |
background: #eee; | |
} | |
.container { | |
position: relative; |
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
/** | |
* CSS3 Border-Radius with Border - Circle Avatars | |
*/ | |
/* General Styles */ | |
body { background: url(http://subtlepatterns.com/patterns/white_texture.png); | |
font: 400 14px sans-serif; | |
color: #666777; text-shadow: 0 1px white; | |
text-align: center; |
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
/* CSS3 Box Sizing */ | |
.box { | |
height: 200px; | |
width: 200px; | |
background: blue; | |
color: white; | |
padding: 20px; | |
box-sizing: border-box; | |
} |
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
/* CSS3 Transitions */ | |
div { | |
width: 200px; | |
height: 200px; | |
padding-top: 85px; | |
margin: 20px; | |
background: RoyalBlue; | |
box-sizing: border-box; |
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
/* CSS3 Transformations */ | |
div { | |
width: 200px; | |
height: 200px; | |
padding-top: 85px; | |
margin: 20px; | |
background: RoyalBlue; | |
box-sizing: border-box; | |
color: white; |