3 ms·
The author didn't even mention speed. Dynamically injected styles will always be slower than static stylesheets. Unless you have a very compelling edge case, us
by robgibbons 11y ago
The author didn't even mention speed. Dynamically injected styles will always be slower than static stylesheets. Unless you have a very compelling edge case, use JavaScript for what it was intended: functionality.