Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to keep style after click

#activate-div{display:none}    

.my-div{background-color:#FFF} 

#activate-div:checked ~ label 
.my-div{background-color:#000}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #style #click
ADD COMMENT
Topic
Name
8+1 =