Auto commit

上级 e6db359a
......@@ -8,10 +8,32 @@
<title>InsCode</title>
</head>
<body>
<div class="container">
<img src="src/assets/logo.svg" alt="InsCode">
<div>欢迎来到 InsCode</div>
</div>
<script src="script.js"></script>
<div class="flex-container-row">
<div class="flex-item">1.刘邦</div>
<div class="flex-item">2.吕雉</div>
<div class="flex-item">3.项羽</div>
<div class="flex-item">4.虞姬</div>
</div>
<div class="flex-container-row-reverse">
<div class="flex-item blue"></div>
<div class="flex-item blue"></div>
<div class="flex-item blue"></div>
<div class="flex-item blue"></div>
</div>
<div class="flex-container-column">
<div class="flex-item"></div>
<div class="flex-item"></div>
<div class="flex-item"></div>
</div>
<div class="flex-container-column-reverse">
<div class="flex-item blue">苏洵</div>
<div class="flex-item blue">苏轼</div>
<div class="flex-item blue">苏辙</div>
</div>
</body>
</html>
\ No newline at end of file
html,
body {
height: 100%;
width: 100%;
}
.container {
text-align: center;
padding: 64px;
.flex-container-row {
display: flex;
flex-direction: row;
}
.flex-container-row-reverse {
display: flex;
flex-direction: row-reverse;
}
.flex-container-column {
display: flex;
flex-direction: column;
}
.flex-container-column-reverse {
display: flex;
flex-direction: column-reverse;
}
.flex-item {
border:1px solid #fff;
height:60px;
width:60px;
text-align:center;
line-height:60px;
background: #f66;
color:white;
}
.flex-item.blue {
border:1px solid #fff;
background: #33f;
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册