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
@mixin before-after($border-width: 10px) { | |
content: ""; display: block; width: 0; height: 0; border: $border-width solid transparent; position: absolute; | |
} |
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
compass create . --bare --sass-dir "sass" --css-dir "css" --javascripts-dir "js" --images-dir "images" | |
compass watch |
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
/* | |
Ratings Stars | |
(with as little code as possible) | |
*/ | |
.rating { | |
unicode-bidi: bidi-override; | |
direction: rtl; | |
text-align: center; | |
} | |
.rating > span { |
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
// | |
// MIXINS | |
// | |
// SHADOWS | |
@mixin box-shadow ($string) { | |
-webkit-box-shadow: $string; | |
-moz-box-shadow: $string; | |
box-shadow: $string; | |
} |
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
<!--[if IE]> IE in general <![endif]--> | |
<!--[if IE 6]> IE 6 only <![endif]--> | |
<!--[if IE 7]> IE 6 only <![endif]--> | |
<!--[if IE 8]> IE 6 only <![endif]--> | |
<!--[if lte IE 7]> IE 7 and below <![endif]--> | |
<!--[if lte IE 8]> IE 8 and below <![endif]--> | |
<!--[if lt IE 9]> IE 8 and below <![endif]--> | |
<!--[if gte IE 7]> IE 7 and above <![endif]--> |
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
/* based upon: https://github.com/ginader/CSS-Hacks/ */ | |
/*IE 6 and IE 7 */ | |
.something {*display:block;} | |
/* IE 6 */ | |
body .something { _display: block;} | |
/* IE 6 */ |
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
/** | |
* @section Grids for YAML4 | |
* @note Grid: 9 columns, 8 gaps, width: 980px | |
* @author Jens Grochtdreis [http://grochtdreis.de] | |
*/ | |
@media screen { | |
.ym-g1-9 {width: 110px;} /* 1 column */ | |
.ym-g15-9 {width: 160px;} /* 1.5 columns */ | |
.ym-g2-9 {width: 220px;} /* 2 columns */ |
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
/* | |
css only show/hide | |
*/ | |
html { | |
background: white url(http://genelocklin.com/examples/shared-images/texture/generated.png) 0 0 repeat; } | |
* { |
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
/* | |
css only show/hide | |
*/ | |
html { | |
background: white url(http://genelocklin.com/examples/shared-images/texture/generated.png) 0 0 repeat; } | |
* { |