Inline CSS
Return the amount of inline CSS bytes included in the document.
[inline-css]
return Array.from(document.querySelectorAll("style")).reduce(
(total, style) => (total += style.innerHTML.length), 0
);
Return the amount of inline CSS bytes included in the document.
[inline-css]
return Array.from(document.querySelectorAll("style")).reduce(
(total, style) => (total += style.innerHTML.length), 0
);