Movie Ticket
You're making the 'Buy' button for a movie ticket website, which has the class buy-button.
The buy-button class has the following CSS:
.buy-button {
width: 100px;
height: 100px;
background: Orange;
/* Make it a circle */
border-radius: 50%;
/* Center horizontally and vertically */
display: flex;
justify-content: center;
align-items: center;
}
A 1 second animation named wiggle should be added to it so the button wiggles when the mouse hovers over it.
Rotating to 25 degrees clockwise (first 0.33 s), then to 25 degrees counterclockwise (second 0.33 s) and then returning to the original position.
It should look like this:
Which of the following would produce the desired animation?
(Select all acceptable answers.)
Tags
- HTML/CSS
- Animation
- CSS Advanced
- New
- Public
- Hard
Information
Score Distribution
Would you like to see our other questions?
We have 1000+ premium hand-crafted questions for 160+ job skills and 20+ coding languages. We prefer questions with small samples of actual work over academic problems or brain teasers.
Would you like to see our tests?
The following tests contain HTML/CSS related questions:
On the blog
Since we're all biased and we use incorrect proxies, why not just outsource hiring to experts or recruitment agencies? After all, they've been screening people for many years, so they must know how to do it right?
Not really. I was surprised to discover that many experts...