.main { color: #00f; } .box1 { width: 300rpx; height: 300rpx; background: #00f; } .box2 { width: 150rpx; height: 150rpx; background: #ff0; }