Hide radiobuttons

This commit is contained in:
Pieter Vander Vennet 2020-11-02 19:50:07 +01:00
parent 3784082155
commit ee6f109e99

View file

@ -56,11 +56,25 @@
border: 2px solid lightgray; border: 2px solid lightgray;
border-radius: 0.5em; border-radius: 0.5em;
display: inline-block; display: inline-block;
width: 90%; width: 95%;
margin:0;
margin-left: -1em;
box-sizing: border-box; box-sizing: border-box;
padding: 0.5em; padding: 0.5em;
} }
.question input[type=radio]{
margin : 0;
padding : 0;
opacity : 0;
}
.question input[type=checkbox]{
margin : 0;
padding : 0;
opacity : 0;
}
input:checked + label .question-option-with-border { input:checked + label .question-option-with-border {
border: 2px solid black; border: 2px solid black;
} }