New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sort CSS properties alphabetically #12
Comments
thanks. doing now. |
I also added CSScomb to the Gulp process. The minified css file is reduced by 1157 byte. |
I've seen that. |
Yes. I was thinking about this - my current coding order is like position > size > box model > text etc. It is hard to follow perfectly. Since CSSComb doesn't support LESS, do you recomend any automation tool for this? |
Not automated but stylelint, now supports LESS files. |
Cool. Thanks. Hope I will get to used to this new habit. Lol. |
Done. I updated all LESS files by using CSSComb. I still keep CSSComb in Gulp process because Autoprefixer adds new properties. |
Sorting CSS properties by alphabet will reduce the file size when gzipped:
http://peteschuster.com/2014/12/reduce-file-size-css-sorting/
The text was updated successfully, but these errors were encountered: