Slide box velocity fix both directions

This commit is contained in:
Max Lynch
2013-10-16 08:24:31 -05:00
parent b3cd02b5c9
commit 77d9ef53d1
5 changed files with 85 additions and 21 deletions

View File

@ -4,7 +4,7 @@
// Make sure items don't scroll over ever
overflow: hidden;
}
.slide-box-items {
.slide-box-slides {
position: relative;
white-space: nowrap;
-webkit-transition: -webkit-transform 0 ease-in-out;
@ -15,7 +15,7 @@
.slide-box-animating {
-webkit-transition-duration: 0.2s;
}
.slide-box-content {
.slide {
display: inline-block;
vertical-align: top;
width: 100%;