CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS Visibility Property


CSS visibility property set an elements to display visible or hidden form.

CSS visibility value set hidden, it means element just hidden mode but it's take same space at the mode of visible.


CSS visibility property

Syntax Value Description
visibility visible
hidden
Specify the element is visible or hidden

Example-Code:

<body>
		<p>This example is Visibility elements</p>
		<ul>
		<li style:"visibility:hidden">Menu.1</li> 
		<li style:"visibility:visible">Menu.2</li>
		</ul>
</body>

Run it...   »

Example Result:

This example is Visibility elements

Menu.1

Menu.2