Skip to content

Instantly share code, notes, and snippets.

@suisho
Created May 15, 2015 10:04
Show Gist options
  • Save suisho/3de1bd3f06429593d7a2 to your computer and use it in GitHub Desktop.
Save suisho/3de1bd3f06429593d7a2 to your computer and use it in GitHub Desktop.
gulpでruby-sassからnode-sassへ移行するときのハマりどころ ref: http://qiita.com/suisho/items/8e91c825c525ad17539b
// 読み込まれない(エラー出ない)
@import "basic";
// 読み込まれる
@import "sass/basic";
.foo{
color: #12345
}
html {
filter: expression(document.execCommand("BackgroundImageCache",false, true));
}
@mixin box-sizing-border{
@at-root{
#{&}{
box-sizing: border-box;
*, *:before, *:after {
box-sizing: inherit;
}
}
}
}
@mixin box-sizing-border{
@at-root{
$selector: &
#{$selector}{
box-sizing: border-box;
*, *:before, *:after {
box-sizing: inherit;
}
}
}
}
sass
├── _basic.scss
└── application.scss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment