Commit d36940e6 by zhengxiao

chore: 修改文档

parent 0bfb50e8
......@@ -63,12 +63,12 @@ yarn add retain.css
## 在css中使用
```css
@import url('retain.min.css');
@import url('retain.css/retain.min.css');
```
- 在css中使用,只需要在css文件中引入retain.css即可。
## 在入口文件js中使用
## 在js中使用
```js
import 'retain.min.css'
import 'retain.css/retain.min.css'
```
......@@ -17,7 +17,7 @@
}
.btn.radius {
border-radius: 15px;
border-radius: 10px;
}
.box {
......@@ -29,7 +29,7 @@
}
[retain] {
--retain-border-color: #0048ff;
--retain-border-radius: 15px;
--retain-border-radius: 10px;
}
</style>
</head>
......
......@@ -12,7 +12,6 @@
"files": [
"README.md",
"LICENSE.md",
"retain.css",
"retain.min.css"
],
"browserslist": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment