Skip to content

Instantly share code, notes, and snippets.

@bdalziel
Created November 5, 2012 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdalziel/4019705 to your computer and use it in GitHub Desktop.
Save bdalziel/4019705 to your computer and use it in GitHub Desktop.
Gallery Slides CSS
ul, li {
/* Simple list reset */
list-style: none;
list-style-image: none;
margin: 0;
padding: 0;
}
.gallerySlides {
position: absolute;
top: 104px; /* bring down from top to accommodate fixed height header */
bottom: 36px; /* push up from bottom to accommodate fixed height footer */
left: 0%;
height: auto;
width: 5000%; /* IE fix - accommodates up to 50 slides */
-webkit-transition: left 0.3s ease-in-out;
-moz-transition: left 0.3s ease-in-out;
-ms-transition: left 0.3s ease-in-out;
-o-transition: left 0.3s ease-in-out;
transition: left 0.3s ease-in-out;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment