Sunday, September 17, 2023
Hover in CSS
Hover in CSS
It is commonly used in CSS to apply styles to elements when the user hovers
their mouse over it.Hover can be used on all the terms but, not only on links.
Is hover is a CSS property?
The term "hover" is not a CSS property. It is a pseudo-class in CSS, used
for applying styles to elements when user hovers or point their mouse over them.
Syntax:
Code:
In this code I applied hover pseudo-class to anchor tag by assigning it green
color, when the user hovers their mouse text color changes it to green.
Subscribe to:
Post Comments (Atom)
Digital Clock using html , java , CSS
<! DOCTYPE html > < html lang = "en" > < head > < meta charset = "UTF-8" > < met...
-
Declare Variable in Java-Script To declare variable in java-script. The term " var " is used. Syntax: var variable name Code:...
-
Document Header Tag in HTML Header tag is used for introduction of your content and define top section of ...
No comments:
Post a Comment