refactor: 简化unocss集成

This commit is contained in:
张传龙
2022-06-11 16:55:36 +08:00
parent b5ac614943
commit 67d966e096
10 changed files with 290 additions and 145 deletions

40
src/styles/reset.css Normal file
View File

@@ -0,0 +1,40 @@
html {
box-sizing: border-box;
}
*,
::before,
::after {
margin: 0;
padding: 0;
box-sizing: inherit;
}
a {
text-decoration: none;
color: #333;
}
a:hover,
a:link,
a:visited,
a:active {
text-decoration: none;
}
ol,
ul {
list-style: none;
}
input,
textarea {
outline: none;
border: none;
resize: none;
}
body {
font-size: 14px;
font-weight: 400;
}