Benutzer:Habitator terrae/Tabs.css
Zur Navigation springen
Zur Suche springen
.testTab {
position:relative;
}
.testTab>tbody>tr>td>div,.testTab>tbody>tr>th{
background:#FFF;
color:#000;
}
.testTab>tbody>tr>th a{
color:inherit;
}
.testTab>tbody>tr>td:target~th{
background:#000;
color:#FFF;
}
.testTab>tbody>tr:first-child>td::before{
height:100%;
opacity:.5;
top:0;
position:absolute;
content:"Bitte eine der Möglichkeiten links auswählen";
}
.testTab>tbody>tr>td{
width:500px;
}
.testTab>tbody>tr>td>div{
height:0;
top:0;
position:absolute;
overflow:hidden;
}
.testTab>tbody>tr>td:target~td>div{
opacity:1;
height:100%;
overflow:auto;
}
.testTab>tbody>tr>td:first-child{
opacity:0;
width:0;
height:0;
position:fixed;
top:0;
left:0;
}