Skip to content

Instantly share code, notes, and snippets.

@hail2u
Created February 14, 2014 04:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hail2u/8995677 to your computer and use it in GitHub Desktop.
Save hail2u/8995677 to your computer and use it in GitHub Desktop.
Sassの変数名において_と-が同一視される問題について。
.test-foo-bar {
content: "foo_bar"; }
.test-foo_bar {
content: "foo_bar"; }
$foo-bar: "foo-bar";
$foo_bar: "foo_bar";
.test-foo-bar {
content: $foo-bar;
}
.test-foo_bar {
content: $foo_bar;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment