Thanks for the detailed answer!
Is there a way though to apply those styles/attributes to an existing element in my page?
Because I want to be able to connect it to different elements on this page (logic-wise)
Edit: Will might be able to achieve this by using the “postMessage” method from the code. Will update on this