有人可以帮我解决如何摆脱css抖动吗?
HTML here:
<div class="carousel-inner">
<div class="item">
</div>
</div>
这里有CSS:
.carousel-inner {
position: relative;
overflow: hidden;
width: 100%;
height: 100vh;
}
.item {
background-image: url(https://images.unsplash.com/photo-1462834026679-7c03bf571a67?dpr=1&auto=format&fit=crop&w=1500&h=989&q=80&cs=tinysrgb&crop=);
background-position: right bottom;
background-size: 100% 100%;
animation: wdszoom0 5s linear 0s infinite alternate;
position: absolute;
height: 100%;
width: 100%;
display: block;
top: 0;
bottom: 0;
overflow-x: hidden;
}
@-webkit-keyframes wdszoom0 { 100% { background-size: 120% 120%; }}
这里小提琴: https://jsfiddle.net/kybernaut/zkzod6wh/2/
我已经读过这个,但是没有帮助我: