单列布局练习
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>单列布局</title>
</head>
<style>
body {
background-color: skyblue;
}
.header{
width: auto;
height: 50px ;
background-color: orange;
margin-bottom: 20px;
color: white;
text-align: center;
line-height: 50px;
}
.one {
width: auto;
height: 500px;