Horje
how to keep style after click Code Example
how to keep style after click
#activate-div{display:none}    

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

#activate-div:checked ~ label 
.my-div{background-color:#000}
how to keep style after click
<input type="checkbox" id="activate-div">
  <label for="activate-div">
   <div class="my-div">
      //MY DIV CONTENT
   </div>
  </label>




Css

Related
move element in front of another css Code Example move element in front of another css Code Example
html css limit page to a4 Code Example html css limit page to a4 Code Example
optional changing n Code Example optional changing n Code Example
twig data uri Code Example twig data uri Code Example
css to exclude last row table Code Example css to exclude last row table Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13