Is there any practical difference between the following two?
button {
cursor: pointer;
}
And:
button:hover {
cursor: pointer;
}
The MDN docs specifically state that:
The cursor
CSS property specifies which mouse cursor to display when the mouse pointer is over an element.
So, is there any real difference? Should one be preferred over the other, or are they interchangeable?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…