Skip to content

Instantly share code, notes, and snippets.

@floq-design
Created September 6, 2013 13:12
Show Gist options
  • Save floq-design/6463607 to your computer and use it in GitHub Desktop.
Save floq-design/6463607 to your computer and use it in GitHub Desktop.
Responsiveslide.js SCSS
/*! http://responsiveslides.com v1.54 by @viljamis */
.rslides {
position: relative;
list-style: none;
overflow: hidden;
width: 100%;
padding: 0;
margin: 0;
li {
-webkit-backface-visibility: hidden;
position: absolute;
display: none;
width: 100%;
left: 0;
top: 0;
&:first-child {
position: relative;
display: block;
float: left;
}
}
img {
display: block;
height: auto;
float: left;
width: 100%;
border: 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment