Ferris Wheel: Step 23

Set the animation property of the .cabin rule to cabins 10s linear infinite . This will set the animation-name , animation-duration , animation-timing-function , and animation-iteration-count properties in that order.

.cabin {
background-color: red;
width: 20%;
height: 20%;
position: absolute;
border: 2px solid;
transform-origin: 50% 0%;
animation: cabins 10s linear infinite;
}

Doesn’t work.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.