I've always used this one and it's always worked for me :)
Answer from IlReDelleFinte on Stack OverflowVideos
html - How to unminimize a min.css file? - Stack Overflow
Can I De-Minify CSS or JavaScript Somehow?
Unminify CSS styles - Stack Overflow
Google Chrome Dev Tools unminify JS/CSS directly from Sources panel
There have been plenty of times when I have seen a cool web app or site and wondered how it worked. I want to see the CSS or the JS and see if I can work out what's going on.
I hit the dev console or give Firefox a Ctrl+u and am greeted by a massive wall of text - it's minified (I assume) for speed/efficiency reasons. But I want to read it!
I've been trying to figure out a way to de-minify stuff. I've been looking in the dev console and VSCode. But if there is a way to do this it's not obvious to me.
Is there any way?
Edit - Just want to say that I really appreciate this subreddit and want to thank everyone for their patience with those of us who are really, really new to web development.
Try https://unminify.com/. Nothing to install, nothing to pay. Copy, paste, boom:
.style1,
.style2,
.style3 {
float: right
}
.style1 {
border-radius: 15px
}
.style2 {
border-radius: 0
}
.style3 {
border-radius: 10px
}
If you have Atom text editor, you can use atom-beautify . The link to the package is https://atom.io/packages/atom-beautify . That formats the code into well organized structure.
From your minified css, it formats it to look like this
.style1 {
float: right;
border-radius: 15px;
}
.style2 {
float: right;
border-radius: 0;
}
.style1 {
float: right;
border-radius: 10px;
}
With that atom package, you can format other popular languages, such as JavaScript, Python, Ruby, Swift, etc.
I hope this is what you are looking for.