.el-header, .el-footer { background-color: #b3c0d1; color: #333; line-height: 60px; } .el-aside { color: #333; } .demo-container .common-layout { .el-header, .el-footer { text-align: center; } .el-aside { background-color: #d3dce6; text-align: center; line-height: 200px; } .el-main { background-color: #e9eef3; color: #333; text-align: center; line-height: 160px; } .el-container { margin-bottom: 40px; &:last-child { margin-bottom: 0; } &:nth-child(5) .el-aside, &:nth-child(6) .el-aside { line-height: 260px; } &:nth-child(7) .el-aside { line-height: 320px; } } }