demo2.css

.wrap {
color : blue;
width : 600px;
height : 500px;
border:groove;
border-radius: 15px;
.header {
border:groove;
width : 90%;
}
.content {
border:groove;
height : 300px;
width : 90%;
.left {
border:groove;
float : left;
width : 40%;
}
.right {
border:groove;
float : left;
width : 40%;
}
}
}

原文地址:https://www.cnblogs.com/u1107562/p/6513514.html