目的
slim
.box.parent
.box.children
.box.grandson
scss
.box {
border-radius: 100px;
&.parent {
width: 600px;
height: 150px;
border: 4px solid green;
}
&.children {
width: 580px;
height: 130px;
border: 4px solid blue;
margin: 6px;
}
&.grandson {
width: 560px;
height: 110px;
border: 4px solid red;
margin: 6px;
}
}