Top "Sass" questions

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

How to compile or convert sass / scss to css with node-sass (no Ruby)?

I was struggling with setting up libsass as it wasn't as straight-forward as the Ruby based transpiler. Could someone explain …

css sass gulp-sass node-sass libsass
How to include SCSS file in HTML

I dont know how to include SCSS file in my website but I have completely developed .scss file using notepad. …

css sass scss-mixins
Placeholder Mixin SCSS/CSS

I'm trying to create a mixin for placeholders in sass. This is the mixin I've created. @mixin placeholder ($css) { ::-webkit-input-placeholder {$…

css sass
sass css: target parent class from child

I am using sass and found a problem. This is an example of what I am trying to do: .message-error { …

css sass
Have a variable in images path in Sass?

I want to have one variable that contains the root path to all my images in my CSS file. I …

css sass
Why don’t my SVG images scale using the CSS "width" property?

I'm building a portfolio website. HTML Code <div id = "hero"> <div id = "social"> <img src = "…

html css svg sass
SASS and @font-face

I have the following CSS - how would I describe it in SASS? I've tried reverse compiling it with css2…

css sass
SASS :not selector

I have a :not css selector in SASS mixin but it doesn't do anything: Code Snippet: @mixin dropdown-pos($pos:right) { &…

css sass compass-sass
Sass Background Image mixin

I'm kind of new to Sass, but I'm attempting to create a workflow for myself. I generate "color packs" for …

css haml sass compass-sass
Calculate a percent with SCSS/SASS

I want to set a width in percentage in scss via calculation, but it gives me errors.. Invalid CSS after "...…

css sass