These are chat archives for
Sign in to start talking
Ruby in the Browser
Mar 14 2018 00:22
Is there a good guide (with some examples) of using opal-browser to manipulate the CSS? Provided example doesn't seem to work. thanks.
Mar 14 2018 01:36
Not sure, but the code is well documented -
Mar 14 2018 01:39
yeah, tried the CSSOM example - does not work : no 'style' method on obj.
I'll look at the other examples you posted
Ah - yeah, I don't want to set the style of say <body> ... I just want to hack the page's CSS def.
maybe Browser::CSS::StyleSheet is what I'm after
Mar 14 2018 19:13
So, I can set the css on elements but there appears no way to access or manipulate the document CSS defs. Am I wrong?