Opening a stylesheet in the HTML...

User 244626 Photo


Registered User
811 posts

Ok so this is a simple question. When I sometimes open a style-sheet I have downloaded for a demo project to inspect different style settings it does not open in the correct format. Sometimes I just open the demo project in my browser and go to the stylesheet used but even then it can be bunched up and unreadable. I simply click a option in my inspector to use pretty print and I can read it like a normal style-sheet I am used to. Is there a format setting I can apply in the HTML Editor or another program I should be using to view style-sheets in the "pretty print mode" ?
Bootstrap 5 CSS Grid.
User 2287960 Photo


Ambassador
580 posts

Presume that you are talking about minified css:

https://cssminifier.com/

There is an unminify tool.

Keith
User 122279 Photo


Senior Advisor
14,447 posts

http://unminify.com/
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 244626 Photo


Registered User
811 posts

Thanks to you both....they work great.

What would the purpose to minify a css or js file......loading time ?
Bootstrap 5 CSS Grid.
User 122279 Photo


Senior Advisor
14,447 posts

Yes, loading time.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.