Skip to content

Instantly share code, notes, and snippets.

@betweenbrain
betweenbrain / gist:8402480
Created January 13, 2014 15:43
PhpStorm SCSS File Watcher Settings for parallel SCSS and CSS directories

|-CSS

|-SCSS

Arguments: --no-cache --update $FileName$:$FileParentDir$/css/$FileNameWithoutExtension$.css Working directory: $FileDir$ Output paths to refresh: $FileParentDir$/css/$FileNameWithoutExtension$.css

NOTE: add --style compressed to Arguments for minified output

@AllThingsSmitty
AllThingsSmitty / responsive-mq.scss
Last active February 29, 2016 19:39
Mixin for responsive breakpoints
@mixin breakpoint($class) {
@if $class == xs {
@media (max-width: 767px) { @content; }
}
@else if $class == sm {
@media (min-width: 768px) { @content; }
}
@else if $class == md {