Attempt to fix #7

This requires more fine tuning and some more styling like container
width.
This commit is contained in:
Dennis Eichhorn 2016-07-14 19:58:59 +02:00
parent 3489edec4c
commit 8a50cb4919

View File

@ -133,3 +133,24 @@ input[type="text"]:focus {
} }
} }
.dropdown {
label:hover ~ label {
display: block;
}
input:checked + label {
display: block;
}
input {
display: none;
margin: 5px;
width: 100%;
background: #fff;
}
label {
display: none;
position: relative;
}
}