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.

No comments:

Post a Comment

Digital Clock using html , java , CSS

  <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < met...