CSS Quiz: Which dot is ahead? Both dots start together and move 100…

🎯 CSS Quiz: Which dot is ahead?

Both dots start together and move 100 px to the right in one second. Which dot has travelled farther after 0.25 seconds?


@keyframes slide {
from { transform: translateX(0); }
to { transform: translateX(100px); }
}

.dot-a { animation: slide 1s linear both; }
.dot-b { animation: slide 1s ease-in-out both; }


👇 Make a guess before checking the comments.
December 3, 2026 48