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

15
test/css/extend-nest.css Normal file
View File

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