Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--style.css13
1 files changed, 7 insertions, 6 deletions
diff --git a/style.css b/style.css
index 014ef85..93552b0 100644
--- a/style.css
+++ b/style.css
@@ -161,30 +161,31 @@ input:checked + label + input + label {
border: none;
display: inline;
}
+*/
input {
position: absolute;
opacity: 0;
-} */
+}
label span {
- border-color: red;
+ display: none;
}
label:first-of-type span {
- border-color: black;
+ display: inline-block;
}
label:has(input:checked) span {
- border-color: red;
+ display: none;
}
label:has(+ label input:checked) span {
- border-color: red;
+ display: none;
}
label:has(input:checked) + label span {
- border-color: black;
+ display: inline-block;
}
image#img1 {