File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 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+
36Break 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
6064adds opacity filter for IE
6165
62- ```
66+ ``` stylus
67+ @import('vendor.styl')
6368body
6469 opacity:0.5
6570```
You can’t perform that action at this time.
0 commit comments