Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thejmazz/sass-examples
Once you go preprocessor css, you'll never go back.
https://github.com/thejmazz/sass-examples
Last synced: 19 days ago
JSON representation
Once you go preprocessor css, you'll never go back.
- Host: GitHub
- URL: https://github.com/thejmazz/sass-examples
- Owner: thejmazz
- Created: 2015-05-18T17:09:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-18T17:18:17.000Z (over 9 years ago)
- Last Synced: 2024-11-07T08:51:34.038Z (2 months ago)
- Language: CSS
- Size: 101 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sass Minimal Examples
## For Wordpress themes
1. Make sure you have compass installed:
1. install Ruby
2. `$ gem install compass`
2. Init a compass project
1. `$ compass init`
2. This will set it up the default way. Has `ie.scss`, `print.scss`, some other stuff we can get rid of.
3. Remove stuff we don't want.
1. `$ rm *.scss`
2. `$ rm *.css`
4. Customize our `config.rb`
1. see comments in `config.rb`
2. I made it so that it compiles css to directory above
5. Compile/watch
1. `$ cd sass`
2. `$ compass compile` or `$ compass watch`
3. Note how `style.css` created in directory above (i.e. theme directory)
4. check out all the browser prefixes in `style.css`!## With libsass
TODO.