If the visibility
property of the style of an HTML element is set to hidden
, is it still clickable?
When the display
property is set to none
, the element is not even part of the DOM tree, so that is not a problem. But I was wondering if a hidden
element still responds to mouse events.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…