Frequently Asked Questions
Find answers to common questions about Sass features, usage, and community.
Getting Started
How do I install Sass? ▼
Install Sass via npm with npm install sass
or use the Dart Sass executable directly.
- For Node.js projects: Add to devDependencies
- For CLI usage: Global installation recommended
- Check official downloads for specific versions
What browsers does Sass support? ▼
Sass works with all modern browsers supporting CSS variables and the latest versions of:
- Chrome 88+
- Firefox 85+
- Safari 14.1+
- Edge 88+
Legacy browser support requires polyfills
Features & Usage
How does variable scoping work? ▼
Variables in Sass:
- $global: Available everywhere after declaration
- $local: Limited to current scope (functions, mixins)
- !global: Forces variable global scope
@function example() {
$local: red;
$global: blue !global;
@return $local;
}
$global: green;
Can I use Sass with React? ▼
Yes - several integration options:
- Create React App: Built-in Sass support
- Next.js: Configure with sass-loader
- Custom setups: Use sass package with Webpack
Community & Support
How to contribute? ▼
- Report issues using GitHub issue tracker
- Submit pull requests for bug fixes
- Improve documentation in the GitHub repo
- Help in community forums
Still need help?
Check our documentation or post a question in our community forums.
View Community Forums