Streaming live at 10am (PST)

Change Div Colour (or load different style sheet) Randomly on Page Load


At the request of a client, I am playing around with the idea of randomizing the colour of various divs within a page on page load. With a site hosted outside of webflow, I would probably explore loading different style sheets... inside of webflow, not 100% sure. I see some threads out there discussing alternative solutions that use JavaScript to target particular divs. Anyone implement something similar within Webflow?

I am early in the process of exploring this.


Also see related links on the right of the post.


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.