Commit c090db1a authored by 徐来柯's avatar 徐来柯

update 页面架子搭建

parent 8f6103cf
{
"liveServer.settings.port": 5501
}
\ No newline at end of file
html {
height: 100%;
box-sizing: border-box;
}
body {
height: 100%;
margin: 0;
padding: 0;
}
.container {
width: 100%;
height: 100%;
box-sizing: border-box;
color: #fff;
background-color: #121212;
}
.header {
width: 100%;
height: 100px;
box-sizing: border-box;
}
.main {
width: 100%;
height: calc(100% - 100px);
background: #0C1C38;
box-sizing: border-box;
position: relative;
}
.view {
width: 300px;
height: 700px;
position: absolute;
top: 50px;
background: rgba(11, 28, 56, 0.7);
display: flex;
flex-direction: column;
}
.view div {
flex: 1;
border: 1px solid red;
}
.view-left {
left: 40px
}
.view-right {
right: 40px;
}
\ No newline at end of file
<!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/index.css">
</head>
<body>
<div class="container">
<div class="header" >
<div>header 部分</div>
</div>
<div class="main" >
<div>3D模型部分</div>
<div class="view view-left">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
<div class="view view-right">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
</div>
</div>
</body>
<script src="./js/index.js"></script>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment