This commit is contained in:
Marc Beninca 2022-06-09 16:47:30 +02:00
parent 51536a7385
commit 9371c992c8
2 changed files with 47 additions and 0 deletions

View file

@ -7,6 +7,33 @@ background: rgb(0,0,0);
color: rgb(160,160,160);
font-family: sans;
}
.tabs {
position: relative;
}
.tab {
float: left;
}
.tab input {
display: none;
}
.tab label {
background: rgb(128,0,128);
cursor: pointer;
text-decoration: underline;
}
.tab_content {
display: none;
left: 0;
position: absolute;
}
input:checked ~ label {
background: rgb(128,128,0);
}
input:checked ~ label ~ .tab_content {
display: block;
}
a {
color: rgb(0,192,192);
}