Which CSS property is used to control the appearance of an element when it is hovered over by the mouse pointer?Optionshover-effecton-hoveractive:hover
Question
Which CSS property is used to control the appearance of an element when it is hovered over by the mouse pointer?Optionshover-effecton-hoveractive:hover
Solution
The CSS property used to control the appearance of an element when it is hovered over by the mouse pointer is :hover. So, the correct option is :hover.
Similar Questions
Which CSS property is used to create an underline effect on a link when it is hovered over?Optionsunderline: link;text-underline: true;text-decoration: underline;link-decoration: underline;
What is the CSS property used to control the visibility of an element?Optionsopacityvisibilitydisplayhidden
What is the CSS property used to create shadows behind elements?Optionsshadow-effectelement-shadowtext-shadowbox-shadow
Which CSS property is used to set the opacity of an element?Optionsfilteropacitytransparencyvisibility
Question 1You are creating a web page that will have a div element with a class attribute that has a value of “child.” The element is formatted to look like a box. When the mouse hovers over the object, it should double in size and move to the right and down. You have created the style rule for the object:Now you need to create the style rule that will move the box when the mouse hovers over it.What rule should you create?1 point.child:hover { transform: scale(2) translate(-30px,30px); }.child:hover { transform: scale(30px,30px) translate(2); }.child:hover { transform: scale(2) translate(30px,30px); }.child:hover { transform: scale(2) translate(30px,-30px); }
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.