| ▲ | encom 8 hours ago | |||||||
Why the extra step of having to click each one? Only a few of them are interactive. | ||||||||
| ▲ | d-us-vb 8 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. | ||||||||
| ||||||||