Slide box with start and end bounds

This commit is contained in:
Max Lynch
2013-10-15 17:04:48 -05:00
parent 246fee2436
commit 53af99c054
4 changed files with 50 additions and 29 deletions

View File

@@ -1,10 +1,13 @@
.slide-box {
position: relative;
white-space: nowrap;
-webkit-transition: -webkit-transform 0 ease-in-out;
// Remove the gaps between slide content items
font-size: 0;
}
.slide-box.animate {
.slide-box-animating {
-webkit-transition-duration: 0.2s;
}
.slide-box-content {
display: inline-block;