#bg1 { : fixed;
top: 0;
left: 0;
width: 100%;
height: 50%; d-color: red;
#bg2 { : fixed;
top: 50%;
left: 0;
width: 100%;
height: 50%; d-color: blue;
HTML设置两个背景颜色
这是一个示例网页。
#bg1 { : fixed;
top: 0;
left: 0;
width: 100%;
height: 50%; d-color: red;
#bg2 { : fixed;
top: 50%;
left: 0;
width: 100%;
height: 50%; d-color: blue;
这是一个示例网页。