1

I am using VS 2013 and there is some downloaded css files that have everything packed in 1 line.

How do I get it in proper format?

enter image description here

2
  • 2
    I'm voting to close this question as off-topic because they just need to get a different download from getbootstrap.com Commented Sep 17, 2015 at 14:53
  • 1
    that file it's a minified version, you can either download bootstrap and get the original file or look for an online unminify css... for example unminify.com Commented Sep 17, 2015 at 14:55

1 Answer 1

2

Try using Ctrl + K, Ctrl + D to auto format it. Works for me in VS 2013.

EDIT: Just noticed you're using the "min" version. That's the minified version. There is a 'full' version available where everything is 'correctly' formatted.

Sign up to request clarification or add additional context in comments.

4 Comments

so the "full" version is exactly same as "min" one right?
Yep they are the same. full: full code with comments, slightly larger file size but easier to read for devs. min: filesize slightly smaller but all comments and line breaks are taken out. Therefore you'll probably get a slightly better performance from the min file but it's much more difficult for a human to read.
thanks, I use the full/normal version now. I know the Ctrl + K, Ctrl + D for auto format codes but for some reason whenever I do that on single Css files like this one => the VS is not responding... maybe too much work =))
You're welcome :) Quite possibly. I think it's Ctrl + K, Ctrl + F if you want to format the code you have highlighted, you could try that to partially format the page but i'd advise using the normal version like you're doing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.