I am trying to modify a CSS file using Sublime Text 2, however, all the code is presented in one linebreaks with no line break whatsoever.

What can I do to change that into readable code?

有帮助吗?

解决方案

Try using Code Beautifier. You input the code and it formats it for you. There are many other sites like this one so check around and see which one you like best.

If you want to use a Sublime Text plugin, try CSS Format by mutian.

EDIT: As said by Imran Bughio, CSS Beautify is another site like Code Beautifier.

EDIT 2: As noted by Beginner, CSSLisible is another option.

其他提示

Go to this site CSSLISIBLE. paste your css code and click Clean this code button..

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top