visibility - how an element is visualized, the block in which it exists is still laid out regardless of the value. Because of this, items may be discarded. display - this is how it is displayed on the page: block there are elements of the type div , with full boxes; The none element does not appear on the page at all; inline is an inline element, such as a span tag or an anchor.
source share