<!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>Document</title>
<link rel="stylesheet" href="../css/bootstrap.min.css">
<style>
.p-2{
background-color: green;
border: 1px solid black;
}
.f-item{
width: 200px;
height: 200px;
background-color: green;
}
.d-flex > .f-item:nth-of-type(2){
flex:0 1 1720px;
background-color: white;
}
@media screen and (max-width: 768px) {
.item1{
display: none;
}
.item3{
display: none;
}
}
</style>
</head>
<body>
<div class="header" style="background-color:greenyellow; min-height: 100px; ">header</div>
<div class="d-flex flex-row">
<div class="f-item item1">item1</div>
<div class="f-item item2">item2</div>
<div class="f-item item3">item3</div>
</div>
<div class="footer" style="background-color:greenyellow; min-height: 50px; ">footer</div>
<!-- <div class="d-flex flex-row">
<div class="p-2">项目1</div>
<div class="p-2">项目2</div>
<div class="p-2">项目3</div>
</div>
<hr>
<div class="d-flex flex-row-reverse">
<div class="p-2">项目1</div>
<div class="p-2">项目2</div>
<div class="p-2">项目3</div>
</div>
<hr>
<div class="d-flex flex-column">
<div class="p-2">项目1</div>
<div class="p-2">项目2</div>
<div class="p-2">项目3</div>
</div>
<hr>
<div class="d-flex align-items-start " style="height:100px;background-color: aquamarine;border: 1px solid black;">33333</div>
<div class="d-flex align-items-end" style="height:100px;background-color: aquamarine;border: 1px solid black;">11111</div>
<div class="d-flex align-items-center" style="height:100px;background-color: aquamarine;border: 1px solid black;">222222</div>
<div class="d-flex align-items-baseline" style="height:100px;background-color: aquamarine;border: 1px solid black;">4444</div>
<div class="d-flex align-items-stretch" style="height:100px;background-color: aquamarine;border: 1px solid black;">5555</div> -->
<script src="../js/bootstrap.bundle.min.js"></script>
</body>
</html>