dynamic elements created with document.createElement doesn’t have styles in Astro In my astro file in a script tag I have the following code: