Here is a plugin that does a nice job.
- After adding this plugin
- Just hit ctrl + shift + p
- And type ‘pr‘.
- Then when ‘HTMLPrettify:Prettify‘ is highlighted from the dropdown,
- Select it and press ‘enter‘.
- You should see your CSS stuff nicely formatted.