mirror of
https://github.com/JasonYANG170/Flowerpot.git
synced 2024-11-23 12:06:35 +00:00
Update style1.css
This commit is contained in:
parent
363e3d6345
commit
805351d55d
26
style1.css
26
style1.css
|
@ -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;
|
||||||
|
@ -38,7 +38,7 @@ nav ul {
|
||||||
|
|
||||||
nav li {
|
nav li {
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
nav asd{
|
nav asd{
|
||||||
|
@ -55,7 +55,7 @@ nav a {
|
||||||
nav form {
|
nav form {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
@ -106,7 +106,7 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
box{
|
box{
|
||||||
float: left;
|
float: left;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border: 1px solid blue;
|
border: 1px solid blue;
|
||||||
|
@ -125,7 +125,7 @@ box2{
|
||||||
height: 150px;
|
height: 150px;
|
||||||
background-image: url("pic/IMG_20230322_121249.jpg");
|
background-image: url("pic/IMG_20230322_121249.jpg");
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
border: 1px solid blue;
|
border: 1px solid blue;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user