Top "Sass" questions

Sass (Syntactically Awesome Style Sheets) is an extension of CSS adding features like nested rules, variables, mixins and class extensions.

SASS - use variables across multiple files

I would like to keep one central .scss file that stores all SASS variable definitions for a project. // _master.scss $…

css sass
Using fonts with Rails asset pipeline

I have some fonts being configured in my Scss file like so: @font-face { font-family: 'Icomoon'; src: asset-url('icoMoon.eot?#iefix', …

ruby-on-rails sass asset-pipeline font-face assets
Try reinstalling `node-sass` on node 0.12?

I would like to use google web starter kit. I installed node.js v0.12.0, node-sass & gulp. And then ran: $ …

node.js sass gulp
Syntax for if/else condition in SCSS mixin

Hi I'm trying to learn SASS/SCSS and am trying to refactor my own mixin for clearfix what I'd like …

conditional mixins sass if-statement
Is it possible to import a whole directory in sass using @import?

I am modularizing my stylesheets with SASS partials like so: @import partials/header @import partials/viewport @import partials/footer @import …

import sass partials
Sass - Converting Hex to RGBa for background opacity

I have the following Sass mixin, which is a half complete modification of an RGBa example: @mixin background-opacity($color, $opacity: .3) { …

css sass background-color mixins rgba
Making a Sass mixin with optional arguments

I am writing a mixin like this: @mixin box-shadow($top, $left, $blur, $color, $inset:"") { -webkit-box-shadow: $top $left $blur $color $inset; …

sass
What is the difference between CSS and SCSS?

I know CSS very well, but am confused about Sass. How is SCSS different from CSS, and if I use …

css sass
sass :first-child not working

I have not been using SASS for a very long time and wanted to know if there are some issues …

css sass pseudo-element
Solving the 'npm WARN saveError ENOENT: no such file or directory, open '/Users/<username>/package.json'' error

I'm a newbie so please include links to URLs or explain terminologies so I can understand. I've managed to install …

npm sass installation npm-init