Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Sass snippetsNew to Visual Studio Code? Get it now.
Sass snippets

Sass snippets

carlijnweijer

|
2,608 installs
| (0) | Free
Simple snippet extension for Sass
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS Code sass/scss snippets

Scss snippets for VS Code

Available commands

at-rules

Prefix Method
imp→ @import 'filePath'
use→ @use 'filePath' as *
fw→ @forward 'filePath'

responsiveness methods

Prefix Method
brpt→ creates default breakpoints map
mqm→ Inserts default media queries for breakpoints map
rmxs→ ResponsiveMax mixin for mobile
rms→ ResponsiveMax mixin for tablet Portet
rmm→ ResponsiveMax mixin for tablet Landscape
rmb→ ResponsiveMax mixin for laptop
rmh→ ResponsiveMax mixin for desktop
rmixs→ ResponsiveMin mixin for mobile
rmis→ ResponsiveMin mixin for tablet Portet
rmim→ ResponsiveMin mixin for tablet Landscape
rmib→ ResponsiveMin mixin for laptop
rmih→ ResponsiveMin mixin for desktop

functions

Prefix Method
clc→ calc()
funcrem→ function to convert pixels to rem
rem→ use function pixels to rem
funcem→ function to convert pixels to em
em→ use function pixels to em

containers

Prefix Method
pacp→ Position absolute cover parent
bico→ Background image size cover
bicn→ Background image size contain

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft