Skip to content

Instantly share code, notes, and snippets.

@hail2u
Created August 17, 2014 06:16
Show Gist options
  • Save hail2u/4d5e59d8657d3e3d8f45 to your computer and use it in GitHub Desktop.
Save hail2u/4d5e59d8657d3e3d8f45 to your computer and use it in GitHub Desktop.
&を使ったネストで、nestedとexpandedで出力されるCSSの改行位置が気持ち悪い
.foo, .bar, .baz { display: auto; }
.qux .foo:before, .qux .bar:before, .qux .baz:before { content: "test"; }
.foo,.bar,.baz{display:auto}.qux .foo:before,.qux .bar:before,.qux .baz:before{content:"test"}
.foo,
.bar,
.baz {
display: auto;
}
.qux .foo:before, .qux
.bar:before, .qux
.baz:before {
content: "test";
}
.foo,
.bar,
.baz {
display: auto; }
.qux .foo:before, .qux
.bar:before, .qux
.baz:before {
content: "test"; }
.foo,
.bar,
.baz {
display: auto;
.qux &:before {
content: "test";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment