K
K
Koi Com2016-07-10 13:46:24
css
Koi Com, 2016-07-10 13:46:24

How to obfuscate css classes?

Only hash functions come to mind. Is there such a function that would produce a string (Latin letters, underscores and numbers) of different lengths depending on how often the class name occurs. Tell me please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2016-07-10
@Koi7

htmlmuncher.com
https://github.com/google/closure-stylesheets
But you should be clear that from an optimization point of view, this is a pointless exercise.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question