From c2cb6ea8c09c049d5d6587101044ea4b669bdb5f Mon Sep 17 00:00:00 2001 From: Sevi <149007003+sevithescss@users.noreply.github.com> Date: Tue, 29 Oct 2024 10:49:30 -0700 Subject: [PATCH] testing the new settings page --- css/index.css | 32 ++++++++++++++++++++++++++++++++ index.html | 14 ++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/css/index.css b/css/index.css index 2807e20..cd32f26 100644 --- a/css/index.css +++ b/css/index.css @@ -191,3 +191,35 @@ button:hover { font-weight: 500; font-style: normal; } +.clicker { + display: inline-block; + width: 100px; + height: 50px; + background-color: blue; + color:#FFF; + } + .clicker.hidden { + display: none; + } + .hiddendiv { + height: 0px; + background-color: green; + overflow: hidden; + transition: height 0.5s; + } + .hiddendiv.nr2 { + background-color: red; + } + + #showdiv1:target ~ div a[href="#showdiv1"], + #showdiv2:target ~ div a[href="#showdiv2"] { + display: none; + } + #showdiv1:target ~ div a[href="#hidediv1"], + #showdiv2:target ~ div a[href="#hidediv2"] { + display: inline-block; + } + #showdiv1:target ~ div .hiddendiv.nr1, + #showdiv2:target ~ div .hiddendiv.nr2 { + height: 130px; + } diff --git a/index.html b/index.html index 870b1af..8ff6629 100644 --- a/index.html +++ b/index.html @@ -121,6 +121,20 @@ +
+ + +