test
This commit is contained in:
parent
51536a7385
commit
9371c992c8
2 changed files with 47 additions and 0 deletions
27
index.css
27
index.css
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue