This is a demo of how CSS attribute visibility
affects objects.
See the Pen CSS Visibility Influence Demo by Xingchen Hong (@Zodiase) on CodePen.0
As we can see, an element will be forced to be visible if given such a style sheet definition no matter how its parent element is defined.
However, an element without a clear visibility definition will inherit its parent element’s visibility.