Update style1.css

This commit is contained in:
JasonYANG17 2023-05-31 00:10:52 +08:00 committed by GitHub
parent 363e3d6345
commit 805351d55d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,10 +2,9 @@ body {
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
margin: 0; margin: 0;
padding: 0; padding: 0;
width: 1535px; height: 100px;
max-width: 100%; float: left;/*float(浮动):用于元素水平方向的布局*/
min-width: 1535px;
height: 100%;
} }
header { header {
@ -13,14 +12,15 @@ header {
border: 1px solid black; border: 1px solid black;
padding:10px; padding:10px;
margin-bottom: 10px; margin-bottom: 10px;
border-radius: 20px;
} }
header2 { headerx {
background-color: aqua; background-color: aqua;
border: 1px solid black; border: 1px solid black;
padding:10px; padding:10px;
margin-bottom: 10px; margin-bottom: 10px;
border-radius: 20px;
} }
h1 { h1 {
margin: 0; margin: 0;
@ -286,11 +286,9 @@ box10{
display: inline-block; display: inline-block;
padding: 5px; padding: 5px;
border: 1px solid blue; border: 1px solid blue;
width: 1000px; width: 100%;
height: 200px; height: 200px;
margin-right: 5px;
margin-left: 250px;
margin-bottom: 20px;
border-radius: 30px; border-radius: 30px;