Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input[type=radio] {
- display: none;
- }
- label {
- position: relative;
- display: block;
- }
- label:after {
- content: "+";
- position: absolute;
- right: 1em;
- }
- input:checked + label:after {
- content: "-";
- }
- input:checked ~ .tab-content {
- height: 150px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement