Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/axsaucedo/globalhackasoton2014
https://github.com/axsaucedo/globalhackasoton2014
Last synced: about 8 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/axsaucedo/globalhackasoton2014
- Owner: axsaucedo
- Created: 2014-08-29T11:33:49.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-13T01:43:35.000Z (almost 10 years ago)
- Last Synced: 2024-04-15T10:11:49.147Z (7 months ago)
- Language: CSS
- Size: 31.7 MB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CSS and SASS
============We will use `SASS/SCSS` for this. It'll make everything easier.
To *install* `SASS` you need `rubygems` and then, you simply do:
$ gem install sass
Using SASS
----------I'd recommend to keep a lot of `sass` and `scss` files in the `css/` folder and include all of them using `main.sass` and the `@import` syntax. Example:
// to import the file "article.sass" or "article.sass" we use
@import "article"To *compile* the `SASS` files into a `CSS` every time something is changed, we use:
(from the css/ folder)
$ sass --watch main.sass:styles.cssAnd it'll watch changes in every `SASS` and `SCSS` files and update the CSS output. We only include `styles.css` in our HTML. *`styles.css` should not be commited into the repository.*