Properties style

EditorConfig key: css-properties-style

Properties style

css-properties-style

Whether declarations inside a rule go on one line or are split.

Default value:

unset

Possible values:

  • unset
  • separate_lines_for_nonsingle
  • separate_lines
  • same_line

Examples

unset
separate_lines_for_nonsingle
.a { color: red }
.b {
  color: red;
  margin: 0;
}
separate_lines
.a {
  color: red;
  margin: 0;
}
same_line
.a { color: red; margin: 0; }