<div dir="ltr">Hello,<div>Since, changing styles using javascript changes the inline style attribute and because you have to change the styles dynamically, this seems to be a nice idea. However, you can take a look at <a href="https://codepen.io/GiorgioMalvone/pen/vHCds">this</a>, using contentEditable attreibute to change styles, thohugh applying this could get difficult and slow.</div><div>Thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 26, 2018 at 4:47 PM, Saksham Gupta <span dir="ltr"><<a href="mailto:shucon01@gmail.com" target="_blank">shucon01@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everyone,<div><br></div><div>I'm going to create preview panels for theme generator. As the colours would be dynamic it's best use to use javascript to change inline style tags. I know that we are trying to convert all the already present inline style tags to css files. But I think for changing colours of panels on pressing preview buttons, the best way is to use style tags for the background of panels. Any other idea is highly appreciated.</div><div><br></div><div>Regards,</div><div><br></div><div>Saksham Gupta</div></div>
<br>______________________________<wbr>_________________<br>
Developers mailing list<br>
<a href="mailto:Developers@phpmyadmin.net">Developers@phpmyadmin.net</a><br>
<a href="https://lists.phpmyadmin.net/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.phpmyadmin.net/<wbr>mailman/listinfo/developers</a><br>
<br></blockquote></div><br></div>