Thread:Matt2905/@comment-37498053-20181215203610/@comment-27095448-20190115151643

Okay, no soucis for javascript.

Well i'll write a javascript who work like this:

Div with class "apng" and another class with size "35px"

Javascript will check any apng class, and will try to get the size class. After he will rewrite the rule "width: XXXpx" only since it's the only thing that change.

So You just need to put the common parameters in apng class like: "dispay: inline-block" and the variable thing will be done with javascript.

You can put a default width for the one who don't have javascript.