Auto Commit

上级 ef53fd87
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
<div class="container"> <div class="container">
<img src="src/assets/logo.svg" alt="InsCode"> <img src="src/assets/logo.svg" alt="InsCode">
<div>欢迎来到 InsCode</div> <div>欢迎来到 InsCode</div>
<div class="box">ss</div>
</div> </div>
<script src="script.js"></script> <script src="script.js"></script>
</body> </body>
......
...@@ -6,4 +6,22 @@ html{ ...@@ -6,4 +6,22 @@ html{
.container { .container {
text-align: center; text-align: center;
padding: 64px; padding: 64px;
} }
\ No newline at end of file .box {
width: 100px;
height: 100px;
background-color: red;
animation: myAnimation 2s linear infinite;
}
@keyframes myAnimation {
0% {
transform: translateX(0);
}
50% {
transform: translateX(200px);
}
100% {
transform: translateX(0);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册