From fe573732ba4ffe45156d74c4ce002245412e5f9d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 13 Jul 2017 15:16:37 +0200 Subject: [PATCH] Remove & --- accordion.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/accordion.scss b/accordion.scss index 971462e..ee3b807 100644 --- a/accordion.scss +++ b/accordion.scss @@ -4,24 +4,24 @@ margin: 10px auto 30px auto; text-align: left; - & > input { + > input { display: none; &:checked + label { @include gradient-top-bottom(#ffffff, 0, $content-background-color, 100, #ffffff); color: #000; - & + section { + + section { display: inherit; } } - & + label + section { + + label + section { display: none; } } - & label { + label { display: block; padding: 5px 20px; position: relative; @@ -39,7 +39,7 @@ } } - & > section { + > section { background: $content-background-color; overflow: hidden; height: auto;