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
/* box shadow */ | |
-moz-box-shadow: 2px 2px 3px #969696; /* for Firefox 3.5+ */ | |
-webkit-box-shadow: 2px 2px 3px #969696; /* for Safari and Chrome */ | |
filter: progid:DXImageTransform.Microsoft.Shadow(color='#969696', Direction=145, Strength=3); |
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
/* opacity */ | |
opacity:0.5; | |
filter: alpha(opacity = 50 ); |
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
/* gradient */ | |
background-image: -moz-linear-gradient(top, #81a8cb, #4477a1); /* Firefox 3.6 */ | |
background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #4477a1),color-stop(1, #81a8cb)); /* Safari & Chrome */ | |
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#81a8cb', endColorstr='#4477a1'); /* IE6 & IE7 */ | |
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#81a8cb', endColorstr='#4477a1')"; /* IE8 */ |
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
/* rotate */ | |
-webkit-transform: rotate(180deg); | |
-moz-transform: rotate(180deg); | |
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); | |
/* | |
ie only 4 rotations | |
1 = 90 |
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
// HTML | |
// ================================== | |
<script type="template" id="template"> | |
<h2> | |
<a href="{{href}}"> | |
{{title}} | |
</a> | |
</h2> | |
<img src="{{imgSrc}}" alt="{{title}}"> | |
</script> |
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
/*! | |
* jQuery Tiny Pub/Sub - v0.X - 11/18/2010 | |
* http://benalman.com/ | |
* | |
* Original Copyright (c) 2010 "Cowboy" Ben Alman | |
* Dual licensed under the MIT and GPL licenses. | |
* http://benalman.com/about/license/ | |
* | |
* Made awesome by Rick Waldron | |
* |