現在、gulpでsassとcsscombを利用しています。
そこでどうしてもつまづいたので相談させてください。
scss
1a { 2 &:link { color: #000; text-decoration: underline; } 3 &:visited { color: #000; text-decoration: none; } 4 &:hover { color: #000; text-decoration: none; } 5 &:active { color: #000; text-decoration: none; } 6}
これをコンパイルすると
css
1a:link { color:#000; text-decoration:underline;} 2 3a:visited { color:#000; text-decoration:none;} 4 5a:hover { color:#000; text-decoration:none;} 6 7a:active { color:#000; text-decoration:none;}
このように、改行が入ってしまいます。
これを以下のように「改行なし」にするにはどのような設定が必要でしょうか?
css
1a:link { color:#000; text-decoration:underline;} 2a:visited { color:#000; text-decoration:none;} 3a:hover { color:#000; text-decoration:none;} 4a:active { color:#000; text-decoration:none;}
↓使用している.csscomb.jsonです
{ "always-semicolon": true, "color-case": "lower", "block-indent": "\t", "color-shorthand": true, "element-case": "lower", "eof-newline": true, "leading-zero": true, "quotes": "single", "sort-order-fallback": "abc", "space-before-colon": "", "space-after-colon": "", "space-before-combinator": " ", "space-after-combinator": " ", "space-between-declarations": " ", "space-before-opening-brace": " ", "space-after-opening-brace": " ", "space-after-selector-delimiter": " ", "space-before-selector-delimiter": "", "space-before-closing-brace": "", "strip-spaces": true, "unitless-zero": true, "vendor-prefix-align": true }
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/02/10 04:50
2017/02/10 05:05
2017/02/10 06:28
2017/02/10 06:59
2017/02/13 05:22
2017/02/13 05:23
2017/02/13 07:21
2017/02/13 08:36
2017/02/13 10:11
2017/02/23 08:08