This question and this one are related.
In that second question, they recommend using link
to link the same stylesheet from the same location, but there can also be global <style>
elements inside the <head>
. What's the best way to distribute those?
My first guess is that I have to copy their textContent
into a new <style>
element inside of the roots, but that seems like a hack.
What's the best way?