Skip to content

Instantly share code, notes, and snippets.

View arvindang's full-sized avatar

Arvin Dang arvindang

View GitHub Profile
@arvindang
arvindang / jsbin.ajajomU.css
Created October 21, 2013 16:43
Find window height, and append section background-image height in CSS to match.
section {
margin-bottom: 40px;
}
.main {
background: url(http://img.timeinc.net/time/photoessays/2008/trees/franklin_trees_01.jpg) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
@arvindang
arvindang / jsbin.ukaMUwi.css
Created October 21, 2013 16:42
jQuery slideshow with CSS transition.
/* Base */
.group:after {
content: "";
display: table;
clear: both;
}
/* Slideshow */
.slideshow {
width: 500px;
http://bourbon.io
http://compass.handlino.com
http://middlemanapp.com
http://pages.github.com
http://necolas.github.io/normalize.css/
http://neat.bourbon.io
http://hex.colorrrs.com