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
img.polaroid { | |
background:#000; /*Change this to a background image or remove*/ | |
border:solid #fff; | |
border-width:6px 6px 20px 6px; | |
box-shadow:1px 1px 5px #333; /* Standard blur at 5px. Increase for more depth */ | |
-webkit-box-shadow:1px 1px 5px #333; | |
-moz-box-shadow:1px 1px 5px #333; | |
height:200px; /*Set to height of your image or desired div*/ | |
width:200px; /*Set to width of your image or desired div*/ | |
} |
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
a:link { color: blue; } | |
a:visited { color: purple; } | |
a:hover { color: red; } | |
a:active { color: yellow; } |
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
.has-pullquote:before { | |
/* Reset metrics. */ | |
padding: 0; | |
border: none; | |
/* Content */ | |
content: attr(data-pullquote); | |
/* Pull out to the right, modular scale based margins. */ | |
float: right; |
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 { | |
background: url('images/bg.jpg') no-repeat center center fixed; | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
background-size: cover; | |
} |
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
.element { position: relative; top: 50%; transform: translateY(-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
html { height: 101% } |
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
#colorbox { | |
background: #629721; | |
background-image: -webkit-gradient(linear, left top, left bottom, from(#83b842), to(#629721)); | |
background-image: -webkit-linear-gradient(top, #83b842, #629721); | |
background-image: -moz-linear-gradient(top, #83b842, #629721); | |
background-image: -ms-linear-gradient(top, #83b842, #629721); | |
background-image: -o-linear-gradient(top, #83b842, #629721); | |
background-image: linear-gradient(top, #83b842, #629721); | |
} |
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
@font-face { | |
font-family: 'MyWebFont'; | |
src: url('webfont.eot'); /* IE9 Compat Modes */ | |
src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | |
url('webfont.woff') format('woff'), /* Modern Browsers */ | |
url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */ | |
url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */ | |
} | |
body { |
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
p { | |
position:relative; | |
z-index:1; | |
padding: 10px; | |
margin: 10px; | |
font-size: 21px; | |
line-height: 1.3em; | |
color: #fff; | |
background: #ff0030; | |
-webkit-box-shadow: 0 0 0 4px #ff0030, 2px 1px 4px 4px rgba(10,10,0,.5); |
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
tbody tr:nth-child(odd) { | |
background-color: #ccc; | |
} |