Add Sass like extend

This commit is contained in:
hokaccha
2011-12-05 23:19:13 +09:00
committed by Luke Page
parent 61e7bd6fb1
commit e793e81e92
10 changed files with 206 additions and 8 deletions

View File

@@ -0,0 +1,22 @@
.sidebar {
width: 300px;
background: red;
.box {
background: #FFF;
border: 1px solid #000;
margin: 10px 0;
}
}
.sidebar2 {
+.sidebar;
background: blue;
}
.type1 {
.sidebar3 {
+.sidebar;
background: green;
}
}