提交 d54502c7 编写于 作者: W weixin_40885370

Auto Commit

上级 ef53fd87
run = "index.html"
language = "node"
[env]
PATH = "/root/${PROJECT_DIR}/.config/npm/node_global/bin:/root/${PROJECT_DIR}/node_modules/.bin:${PATH}"
XDG_CONFIG_HOME = "/root/.config"
npm_config_prefix = "/root/${PROJECT_DIR}/.config/npm/node_global"
\ No newline at end of file
npm_config_prefix = "/root/${PROJECT_DIR}/.config/npm/node_global"
[debugger]
program = "main.js"
......@@ -9,8 +9,16 @@
</head>
<body>
<div class="container">
<img src="src/assets/logo.svg" alt="InsCode">
<div>欢迎来到 InsCode</div>
<!-- <img src="src/assets/logo.svg" alt="InsCode">
<div>欢迎来到 InsCode</div> -->
<section>
<img
src="src/assets/logo.svg"
class="bg"
alt=""
/>
<div id="particles-js"></div>
</section>
</div>
<script src="script.js"></script>
</body>
......
此差异已折叠。
......@@ -3,7 +3,31 @@ html{
width: 100%;
}
.container {
/* .container {
text-align: center;
padding: 64px;
}
\ No newline at end of file
} */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.section {
position: relative;
width: 100%;
height: 100vh;
}
.bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
#particles-js {
position: relative;
height: 100vh;
background: #fff;
mix-blend-mode: screen;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册