Fix css focused tab

Manos Pitsidianakis 2020-07-17 14:19:04 +03:00
parent 8f9a41f26d
commit 04e5258ee3
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 13 additions and 0 deletions

View File

@ -344,6 +344,19 @@ input ~ .tab { display: none }
#tab4:checked ~ .tab.content4,
#tab5:checked ~ .tab.content5 { display: block; }
#tab1:checked ~ nav ul li.tab1 label {
background: none;
border-bottom: 1px solid #c0c0c0;
}
#tab2:checked ~ nav ul li.tab2 label {
background: none;
border-bottom: 1px solid #c0c0c0;
}
#tab3:checked ~ nav ul li.tab3 label {
background: none;
border-bottom: 1px solid #c0c0c0;
}
input + label {
border-top: 1px outset #fff;
border-left: 1px outset #fff;