M
M
Mauster2015-10-04 02:55:00
css
Mauster, 2015-10-04 02:55:00

What is faster css or js?

What loads faster js or css in terms of speed?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
X
xmoonlight, 2015-10-04
@xmoonlight

Loads: the same (with equal sizes and compression)
Executes: CSS is faster than JS

R
Roman Fov, 2015-10-04
@Roman-Fov

Chrome > F12 > Network tab > F5

I
Ivan Solomennikov, 2015-10-04
@ivsol

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.

B
bro-dev, 2015-10-04
@xPomaHx

The main thing is to understand the functions of js and css, and use them for their intended purpose, then it will be both faster and more correct in every sense.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question