feat: 初始化CSS &输入框

This commit is contained in:
2026-02-03 13:15:39 +08:00
parent 734c0129cd
commit 3d7cb5d5d4
10 changed files with 240 additions and 65 deletions

View File

@@ -1,6 +1,14 @@
* {
padding: 0;
body,
html,
div,
ul,
li,
h1,
h2,
h3,
p {
margin: 0;
padding: 0;
}
html,
body,
@@ -17,3 +25,28 @@ body,
transform: rotate(360deg);
}
}
.flex {
display: flex;
}
.flex-col {
flex-direction: column;
}
.flex-1 {
flex: 1;
}
.flex-center {
align-items: center;
justify-content: center;
}
.flex-between {
justify-content: space-between;
}
.align-center {
align-items: center;
}
.relative {
position: relative;
}
.absolute {
position: absolute;
}

View File

@@ -1,23 +1,30 @@
* {
padding: 0;
margin: 0;
body,
html,
div,
ul,
li,
h1,
h2,
h3,
p {
margin: 0;
padding: 0;
}
html,
body,
#app {
width: 100%;
height: 100%;
overflow: hidden;
width: 100%;
height: 100%;
overflow: hidden;
}
@keyframes loading {
0% {
transform: rotate(0deg);
}
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
100% {
transform: rotate(360deg);
}
}