Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
retain.css
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑晓
retain.css
Commits
d36940e6
Commit
d36940e6
authored
Nov 17, 2023
by
zhengxiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改文档
parent
0bfb50e8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
README.md
README.md
+3
-3
index.html
index.html
+2
-2
package.json
package.json
+0
-1
No files found.
README.md
View file @
d36940e6
...
...
@@ -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'
```
index.html
View file @
d36940e6
...
...
@@ -17,7 +17,7 @@
}
.btn.radius
{
border-radius
:
1
5
px
;
border-radius
:
1
0
px
;
}
.box
{
...
...
@@ -29,7 +29,7 @@
}
[
retain
]
{
--retain-border-color
:
#0048ff
;
--retain-border-radius
:
1
5
px
;
--retain-border-radius
:
1
0
px
;
}
</style>
</head>
...
...
package.json
View file @
d36940e6
...
...
@@ -12,7 +12,6 @@
"files"
:
[
"README.md"
,
"LICENSE.md"
,
"retain.css"
,
"retain.min.css"
],
"browserslist"
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment