We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
保存.scss文件时会当前目录下生成同名的css文件,并且自动给css3属性打前缀
.scss
安装sass http://sass-lang.com/install
运行npm install -g postcss-cli autoprefixer
npm install -g postcss-cli autoprefixer
打开Sublime Text 3
菜单Preferences > Package Control: Install Package,依次安装
Preferences
Package Control: Install Package
菜单Preferences > Settings - User,增加
Settings - User
"show_panel_on_build": false,
菜单Preferences > Browse Packages会打开一个文件夹,然后打开User文件夹,新建以下文件并保存
Browse Packages
https://gist.github.com/holyzfy/170929ad3928e8d6b8eecef0af0dab69
新建文件demo.scss并保存,查看当前目录下生成的demo.css,内容示例 https://gist.github.com/holyzfy/51f21b9a01dc51f300e2b1e1936b559c
demo.scss
demo.css
http://sass-lang.com/documentation/file.SASS_REFERENCE.html
The text was updated successfully, but these errors were encountered:
配置ruby source
gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/
Sorry, something went wrong.
No branches or pull requests
最终效果
保存
.scss
文件时会当前目录下生成同名的css文件,并且自动给css3属性打前缀安装说明
安装sass http://sass-lang.com/install
运行
npm install -g postcss-cli autoprefixer
打开Sublime Text 3
菜单
Preferences
>Package Control: Install Package
,依次安装菜单
Preferences
>Settings - User
,增加菜单
Preferences
>Browse Packages
会打开一个文件夹,然后打开User文件夹,新建以下文件并保存https://gist.github.com/holyzfy/170929ad3928e8d6b8eecef0af0dab69
测试一下吧
新建文件
demo.scss
并保存,查看当前目录下生成的demo.css
,内容示例 https://gist.github.com/holyzfy/51f21b9a01dc51f300e2b1e1936b559cSASS语法
http://sass-lang.com/documentation/file.SASS_REFERENCE.html
The text was updated successfully, but these errors were encountered: