Skip to content

Instantly share code, notes, and snippets.

@adnan360
Last active November 30, 2018 05:22
Show Gist options
  • Save adnan360/784fa13c185f27aa36c01074a65c4b78 to your computer and use it in GitHub Desktop.
Save adnan360/784fa13c185f27aa36c01074a65c4b78 to your computer and use it in GitHub Desktop.
For generating tabbed Sass output
#!/bin/bash
sassc -t expanded style.scss > style.css
sed -i -e 's/ / /g' style.css
# Save as .sh file on the same directory as the css. e.g. generate.sh
# chmod +x generate.sh
# ./generate.sh
# This method requires no tools, no hacks, no code edits etc. Easy and simple!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment