Single-line vs multi-line CSS formatting

前端 未结 5 1097
耶瑟儿~
耶瑟儿~ 2021-01-21 04:36

Though it\'s debatable, I\'ve heard the majority of CSS developers prefer multi-line because of the ease of which a property can be found within the CSS file. But doesn\'t this

5条回答
  •  星月不相逢
    2021-01-21 05:14

    Use whatever style you find easy, at the time of development.

    You can use a CSS minifier to reduce the size of the file at the time of deployment. You can find a lot of CSS minifiers which will help reducing the file size.

    YUI compressor is a good one.

提交回复
热议问题