效果:
代码:
<!DOCTYPE html>
<html>
<head>
<style>
#container {
width: 100%;
}
.header {
position: absolute;
background-color: green;
width: 100%;
height: 20%;
}
.content {
position: absolute;
top: 20%;
bottom: 20%;
}
.left {
background: yellow;
width: 20%;
}
.middle {
background: blue;
left: 20%;
right: 180px;
}
.right {
background: red;
width: 180