summaryrefslogtreecommitdiffstats
path: root/sass/tests/resources/scss/nesting.scss
diff options
context:
space:
mode:
Diffstat (limited to 'sass/tests/resources/scss/nesting.scss')
-rw-r--r--sass/tests/resources/scss/nesting.scss40
1 files changed, 40 insertions, 0 deletions
diff --git a/sass/tests/resources/scss/nesting.scss b/sass/tests/resources/scss/nesting.scss
new file mode 100644
index 0000000000..0336c9e86d
--- /dev/null
+++ b/sass/tests/resources/scss/nesting.scss
@@ -0,0 +1,40 @@
+.top-bar {
+ color: red;
+ .alt {
+ color: blue;
+ }
+}
+
+.menu {
+ background-color: red;
+ a {
+ color: blue;
+ }
+}
+
+.caption {
+ padding: 10px;
+ .text, .header {
+ color: green;
+ }
+}
+
+.footer {
+ padding: 10px;
+ .left, .right {
+ color: purple;
+ a {
+ color: orange;
+ }
+ }
+}
+
+.main {
+ color: red;
+ .second.third {
+ color: blue;
+ .fourth {
+ color: black;
+ }
+ }
+} \ No newline at end of file