CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS visibility property




CSS Visibility Style are use to display element hide or show.
For example, you can use set visible than display, hidden does not display when page to be load.


Property Values


Properties Value Description
Syntax visibility:value
value   hiden
  visible
  collapse
  inherit
Allow to All Elements
Inherited No

Example-Code:

<p>This example is Visibility elements</p>
<ul>
<li style:"visibility:hidden">Menu.1</li> 
<li style:"visibility:visible">Menu.2</li>
</ul>
Online Try This Code Your Self....   »

Example-Result:

This example is Visibility elements

Menu.1

Menu.2