본문 바로가기

   
Programming/CSS

CSS 화면숨기기 : visiblity

반응형

CSS 태그 화면숨기는 방법 visiblity

<html>

       <head>

             <title></title>

             <meta name="generator" content="editplus" />

             <meta name="author" content="zzarungna" />

             <style type="text/css">

             input {

                    border:1px solid black;

                    background-color:white;

                    width:80px;

                    height:25px;

                    margin-bottom:3px;

                    display:block;

             }                  

 

             #btn1{

                    display:none;

             }

 

             #btn2{

                    visibility:hidden;

             }

             </style>           

       </head>

 

       <body>

             <input type="button" value="버튼1" />

             <input type="button" value="버튼2" id="btn1"/>

             <input type="button" value="버튼3" />

             <input type="button" value="버튼4" id="btn2"/>

             <input type="button" value="버튼5" />

       </body>

</html>

 


 


반응형