Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Loads: the same (with equal sizes and compression)
Executes: CSS is faster than JS
Try writing native css code with media queries that changes its color when the page is resized and the same thing in native js, for example using the innerWidth property of the window object.
About half a year ago, I barely noticed a difference, namely that js changes color more slowly (in my case, the example), now things may be different.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question