Line 21: | Line 21: | ||
} | } | ||
.collapse-button + input:checked + div{ | .collapse-button + input:checked + div{ | ||
+ | display:block; | ||
+ | } | ||
+ | |||
+ | .show-button{ | ||
+ | cursor: pointer; | ||
+ | display: none; | ||
+ | background: #cdf; | ||
+ | } | ||
+ | .show-button + input{ | ||
+ | display: none; /* hide the checkboxes */ | ||
+ | } | ||
+ | |||
+ | .show-button + input + div{ | ||
+ | display:none; | ||
+ | } | ||
+ | .show-button + input:checked + div{ | ||
display:block; | display:block; | ||
} | } |
Revision as of 08:48, 17 October 2017
Content 1
Content 2
Content 3