Which CSS3 code should you use?

You are developing a web application by using HTML5.
You have the following requirements.
The color of a menu item must change when a user hovers over the item.
The color of the menu item must change back to its original color after five seconds.
You need to ensure that the animation is applied to all menu items.
Which CSS3 code should you use?

You are developing a web application by using HTML5.
You have the following requirements.
The color of a menu item must change when a user hovers over the item.
The color of the menu item must change back to its original color after five seconds.
You need to ensure that the animation is applied to all menu items.
Which CSS3 code should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Helpful_coder

Helpful_coder

The answer provided is only half the answer. The question states two things:
* The color of a menu item must change when a user hovers over the item.
* The color of the menu item must change back to its original color after five seconds.

The correct answer is here:
https://jsfiddle.net/a5w32scg/