X
X
xenuz2016-02-16 20:39:07
css
xenuz, 2016-02-16 20:39:07

How to make your html+css code hard to read for others?

Greetings toasters and webbb lovers!
No one can ever fully defend themselves.
But you come across texts, sites, examples where the source code of the page, and whether it's JS, CSS, HTML
is just solid. It is difficult for an uninitiated or a beginner to parse such a text. Everything is going all the way.
The browser eats normally and displays everything as it should.
How is this done and with what tools?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
K
kravchenko-me, 2016-02-16
@kravchenko-me

minifycode.com/html-minifier
https://cssminifier.com/
jscompress.com
and a bunch of other similar
ones + there are plugins for gulp, grunt (csso, uglify, etc.)
Minification is not done for protection, but to optimize the weight of the file

I
IceJOKER, 2016-02-16
@IceJOKER

There are tons of services for different languages, try searching:
html minify
js minify
......
jscompress.com
https://javascript-minifier.com/

D
Daniil Igorevich, 2016-02-16
@Petr_Anisimov

Code optimizers compress code and remove spaces (google: code minimization)
Bang
Bang
Bang

D
dadster, 2016-02-16
@dadster

Well, for example, with this

N
nort1986, 2016-02-18
@nort1986

there are a lot of ways from online services to plugins in the editor.

S
sashabeep, 2016-02-18
@sashabeep

One fig firebug takes everything out

I
Igor Shumilovsky, 2016-02-20
@JiSeven

You can make your layout process easier by getting rid of the global css, and make it difficult for third-party developers to read through css modules.
In your code, for example, there will be
.header {}
And the output will be
.component_header_bjfstkcdakb {}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question