Show/Hide div, with plain JS

后端 未结 6 582
独厮守ぢ
独厮守ぢ 2021-01-19 23:23

My CSS:

#a_x200{
    visibility: hidden;
    width: 200px;
    height: 200px;
    background-color: black;
}

My JS:



        
6条回答
  •  悲哀的现实
    2021-01-20 00:07

    You can try this code:

    HTML Code:
            
            
    
    Java script:
    
    
    

    Try this code it will solve your problem.

提交回复
热议问题