Skip to content

Commit 3e2b6c5

Browse files
committed
update README.md
1 parent b1e83ba commit 3e2b6c5

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
CSS前缀
1+
Stylus:轻而易举实现 CSS 前缀和CSS reset
22
-----
3+
4+
[![](https://img.shields.io/github/issues/jaywcjlove/AutoPrefixCSS.svg)](https://github.com/jaywcjlove/AutoPrefixCSS/issues) [![](https://img.shields.io/github/forks/jaywcjlove/AutoPrefixCSS.svg)](https://github.com/jaywcjlove/AutoPrefixCSS/network) [![](https://img.shields.io/github/stars/jaywcjlove/AutoPrefixCSS.svg)](https://github.com/jaywcjlove/AutoPrefixCSS/stargazers) [![](https://img.shields.io/github/release/jaywcjlove/AutoPrefixCSS.svg)](https://github.com/jaywcjlove/AutoPrefixCSS/releases)
5+
36
Break free from CSS prefix hell!
47
摆脱CSS前缀地狱!
58

@@ -15,8 +18,9 @@ CSS3 每个浏览器都有私有属性例如 `-moz` 代表firefox浏览器私有
1518

1619
# 下载
1720

18-
```
19-
$ bower info AutoPrefixCss
21+
```shell
22+
$ bower install AutoPrefixCss #下载
23+
$ bower info AutoPrefixCss #查看详情
2024
```
2125

2226
# 初衷
@@ -53,13 +57,14 @@ global-reset()
5357
```
5458

5559

56-
## vendor.styl
60+
## 自动添加CSS后缀
5761
只需要将 `vendor.styl` 到您的项目,然后引用 `@import('vendor.styl')` ,然后你在你的 `styl` 文件中正常使用 `stylus` 语法就好了。效果如下例子:
5862

5963
### opacity
6064
adds opacity filter for IE
6165

62-
```
66+
```stylus
67+
@import('vendor.styl')
6368
body
6469
opacity:0.5
6570
```

0 commit comments

Comments
 (0)