undoing my changes because it broke the website.
This commit is contained in:
parent
0f020b3050
commit
172fcca99a
@ -208,6 +208,9 @@ button:hover {
|
||||
overflow: hidden;
|
||||
transition: height 0.5s;
|
||||
}
|
||||
.hiddendiv.nr2 {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
#showdiv1:target ~ div a[href="#showdiv1"],
|
||||
#showdiv2:target ~ div a[href="#showdiv2"] {
|
||||
|
@ -123,7 +123,12 @@
|
||||
<div>
|
||||
<a href="#showdiv1" class="clicker" tabindex="1">Click me 1</a>
|
||||
<a href="#hidediv1" class="clicker hidden" tabindex="1">Click me 1</a>
|
||||
|
||||
<a href="#showdiv2" class="clicker" tabindex="2">Click me 2</a>
|
||||
<a href="#hidediv2" class="clicker hidden" tabindex="2">Click me 2</a>
|
||||
|
||||
<div class="hiddendiv nr1"></div>
|
||||
<div class="hiddendiv nr2"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user