Line 226: | Line 226: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
#css-slider { | #css-slider { | ||
− | + | width: 500px; | |
− | + | height: 800px; | |
− | + | overflow: hidden; | |
} | } | ||
.slide-item { | .slide-item { | ||
− | + | width: 500px; | |
− | + | height: 800px; | |
− | + | float: left; | |
− | + | position: relative; | |
} | } | ||
.slider-wrapper { | .slider-wrapper { | ||
− | + | width: 300%; | |
− | + | position: relative; | |
− | + | left: 0; | |
− | + | will-change: transform; | |
− | + | animation: slider 10s infinite; | |
} | } | ||
Revision as of 14:09, 30 October 2017