+ 2
What are some example use-cases for visibility:hidden?
My first thought is to hide a caption informing that required information has not been filled in on a form. Is that a valid use-case?
2 Answers
+ 9
Absolutely, and it wouldn't mess with other elements adjacent. If you had used "visibilty: none" anything around the element would start looking funny, as the space would no longer be preserved. Hidden keeps the space there, as in the area is transparent without the element visible to the eye. I hope that made sense lool.
0
Totally made sense, thank you!
Hot today
Тренажер кода
2 Votes
help my code does not iterate
0 Votes
What's wrong with this??
0 Votes
What is the problem 🤨🧐??
1 Votes
Generador de divicion python.
1 Votes