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