CSS Visibility
0 3916
CSS Visibility: The visibility property in CSS two property. The CSS rules visibility: hidden and show. It will be work something like HTML comment tags.
<!DOCTYPE html>
<html>
<head>
<title> CSS Visibility </title>
<style type="text/css">
.div1{
display:none;
}
.div2{
display:block;
}
</style>
</head>
<body>
<div class="div1"> display:none, if we use display none, then content of div1 will be not show </div>
<div class="div2"> display:block, if we use display block, then content of div2 will be show </div>
</body>
</html
Share:
Comments
Waiting for your comments