Question: What will happen when the following code is applied? div { height: 2 0 0 px; background - color: yellow; } div:hover { height: 4
What will happen when the following code is applied?
div
height: px;
backgroundcolor: yellow;
div:hover
height: px;
transition: height s ease;
What will happen when the following code is applied?
div
height: px;
backgroundcolor: yellow;
div:hover
height: px;
transition: height s ease;
The height of the div will transition smoothly from px to px over seconds when hovered.
The height of the div will remain px
The height of the div will change instantly to px when hovered.
The background color will change when hovered.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
