Remix.run Logo
encom 8 hours ago

These are all super dark, for some reason.

christophilus 7 hours ago | parent [-]

You have to actually run them. Otherwise, they're just a dark CodePen preview.

encom 7 hours ago | parent [-]

Why the extra step of having to click each one? Only a few of them are interactive.

d-us-vb 6 hours ago | parent [-]

Because codepens can run javascript. And if a page has 50 of them, it might make the page load time much longer. I know that all these examples are pure CSS, and maybe there is a setting in codepen to disable the "Run" button and automatically run it. Still, getting to decide is generally a better pattern than presuming that that's what the user wants, especially when the fact that the code is inside a codepen makes it explicitly not an integral function of the page. "I thought this was just a blog, and now you want me to run all this javascript??" -- some JS hater, probably.

I appreciate getting to choose as much as possible when code runs.

zamadatix 6 hours ago | parent [-]

Somewhat ironically, Codepen ended up introducing the JS execution requirement to view the content.