Auto commit

上级 e6db359a
...@@ -8,10 +8,32 @@ ...@@ -8,10 +8,32 @@
<title>InsCode</title> <title>InsCode</title>
</head> </head>
<body> <body>
<div class="container">
<img src="src/assets/logo.svg" alt="InsCode"> <div class="flex-container-row">
<div>欢迎来到 InsCode</div> <div class="flex-item">1.刘邦</div>
</div> <div class="flex-item">2.吕雉</div>
<script src="script.js"></script> <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> </body>
</html> </html>
\ No newline at end of file
html, .flex-container-row {
body { display: flex;
height: 100%; flex-direction: row;
width: 100%; }
}
.flex-container-row-reverse {
.container { display: flex;
text-align: center; flex-direction: row-reverse;
padding: 64px; }
.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.
先完成此消息的编辑!
想要评论请 注册