CodePen
CodePen
@codepen.io
Build, test, and discover front-end code π» https://codepen.io Support: https://codepen.io/support
3.3K followers93 following397 posts
Chris & Alex talking about CodePen AI checks it's work after it makes changes. Que Fancy! Also a live example from the last CodePen School of it working great. bsky.app/profile/shaw...
CodePen reposted
One super cool detail is that @codepen.io AI double-checks its work. @chriscoyier.net and I were discussing the output from a simple prompt and while I was pointing out a small issue, AI had already caught the problem and was fixing it. Amazing to see in real-time. youtu.be/Re258px0v1k?...
CodePen reposted
I love this effect! The ball's motion stays constant. The only thing that changes is the shadow animation, and that's enough to trick our brains into thinking the ball is moving back and forth *or* up and down. The shadow positions the ball in 3D space. π€― π @codepen.io: codepen.io/editor/amit_...
CodePen reposted
Fun new stream for @codepen.io School! Love doing these every week. Come hang out during the next one! youtube.com/live/Re258px...
How does CodePen AI do with the Cool S? With squigglevision? Friggin nailed it. (Wait... CodePen has AI now? codepen.io/features/ai π)
CodePen reposted
Another #CSSonly `::scroll-*` demo! This one keeps things a little simpler, using scroll markers as tabs and scroll-triggered animations to bring the selected tabβs content to life. β οΈ Currently only works in Chromium-based browsers. See the full demo on @codepen.io codepen.io/editor/cbols...
CodePen reposted
Another `:scroll-*` demo β an interactive CSS solar system! πͺ Advanced `attr()` pulls planet data to define orbits and speeds, while `::scroll-marker` brings the planets to life. Always fun to see what CSS can do! See the full demo on @codepen.io codepen.io/editor/cbols... #CSSOnly
"Scroll-triggered animations: Variable Font: expand, shrink, squoosh" by utilitybend codepen.io/editor/utili...
CodePen reposted
γ°οΈ Wavy Progress Bar γ°οΈ Mapping a custom property to `shape()` using a custom function. All in #CSS!!! π€― Single div, using background gradients, and animation on the background position. π Live demo on @codepen.io: codepen.io/editor/amit_...
CodePen reposted
Attention class! @codepen.io School with @chriscoyier.net and @shaw.city is happening today at 11am PST. Don't be tardy! youtube.com/live/hduqhpj...
Three nice styles for highlighter-style <mark> elements: - codepen.io/HejChristian... - codepen.io/cassidoo/pen... - codepen.io/vii120/pen/K...
CodePen reposted
I'm looking forward to exploring the @codepen.io API. I've set up a selection of CodePen demos on my personal site, but they're forks that either diverge or have to be manually kept in sync. The API will let me use my local development workflow to keep self-hosted and CodePen-hosted pens in sync.
DID YOU KNOW: @codepen.io has a read/write API? blog.codepen.io/docs/api/api... Comes in GraphQL & Rest flavors so you can use what's best for your task. Updating a Pen is super easy and seamless.
CodePen reposted
DID YOU KNOW: @codepen.io has a read/write API? blog.codepen.io/docs/api/api... Comes in GraphQL & Rest flavors so you can use what's best for your task. Updating a Pen is super easy and seamless.
We've got a full-blown Read/Write API now. Just so ya know. blog.codepen.io/docs/api/api... REST or GraphQL.
The October CodePen Challenge is on! This month, it's Jest Halloween π Every week you'll get a starter Pen with a Jest test and a Halloween twist codepen.io/challenges/2... Thanks @PagerDuty for sponsoring! srv.buysellads.com/ads/long/x/T...
CodePen reposted
π A little Halloween FizzBuzz fun! 100 floating numbers, some CSS random(), a bit of sibling-index(), and some spooky surprises hiding behind the numbers. π» Hover over one to see what happensβ¦ See the full demo on @codepen.io codepen.io/editor/cbols... #codepenchallenge #FizzBuzz #Halloween
CodePen School (Live Stream) at the top of the hour! www.youtube.com/watch?v=5Idb... Probably gonna share some cool tools and techniques, news, answer some questions, maybe a little Stump Stephen! We've got a Twitch too: www.twitch.tv/codepen
"<rich-input> demo" by Bramus codepen.io/editor/bramu... Pretty impressive combination of new web tech to make this happen: <datalist>, the OpaqueRange API, and the CSS Custom Highlight API.
CodePen reposted
ποΈβ More Drag & Drop on @codepen.io 2.0! Panels can be dropped into the tab area for an expanded view, now including Settings & Assets. You can even drag the Console to a tab!
CodePen reposted
π New CSS Article! With Scroll-Driven Animations, you can transfer a value from one element to another anywhere on the page. I am using it to implement children-count(). Strange? Confusing? What the heck am I talking about?! Read my latest article π blog.master.dev/transferring...
CodePen reposted
Finally cleaned up the CodePen. You can find it here: codepen.io/editor/kevin... The video is dropping tomorrow (unless you're a channel member... in which case you can watch it now π youtu.be/Fi1MvM7whzg)
The GTA6 site transitions between sections. Still early in, but I think I'm getting pretty close with scroll-driven animations. Next I need add a delay for stacked elements. Having things fade out a little later than others makes it a lot nicer. The videos do make it a bit cooler, though π
CodePen reposted
Did you know @codepen.io now has a Changelog? codepen.io/changelog Thanks to the awesome 2.0 Editor, we're releasing regular improvements, new features, and bug fixes. Keep your eye on that page, because we'll often reveal really big features in the Changelog first before any wide announcements.
"Inline Block Processing" is a cool thing CodePen can do. Here's a video showing it off: www.youtube.com/watch?v=AyAF... Docs: blog.codepen.io/docs/pens/bl... Examples: codepen.io/collection/e...
CodePen reposted
Loved scroll-driven animations? Meet their scroll-triggered sibling. Instead of tying animation progress directly to the scrollbar, you can trigger full time-based CSS animations when crossing a scroll offset. See how to build them with pure CSS β goo.gle/4dhcvmh
CodePen reposted
Coming up at the top of the hour is our weekly @codepen.io School with @shaw.city and I. YouTube: www.youtube.com/watch?v=Shsi... Twitch: www.twitch.tv/codepen Ya know: a little edu-tainment programming, showing off new CodePen features, stumping each other, etc.
"Pixel Dissolve Mask Generator" by Matthew Morete codepen.io/editor/matth... + a very cool website! matthewmorete.com
The final week of our September challenge is on! This week, you'll chart your own course πΊοΈ codepen.io/challenges/2... Thanks @MongoDB for sponsoring! srv.buysellads.com/ads/long/x/T...
CodePen reposted
Blocks and Files combine to form the ultimate power and flexibility of @codepen.io 2.0. This is a great example: One user file, script.test.js, and yet there's still a Preview... showing the test results!
codepen.io/editor/Tzyin... Here's my solution! Using the nifty config that @shaw.city showed earlier this week
CodePen reposted
Wavy illusion γ°οΈ The cyan and magenta lines are the same length and do not change at all. π΅ (CSS only) π Live demo on @codepen.io: codepen.io/editor/amit_...
CodePen reposted
π Class starts in 3 hours! If you're one of those "do homework right before the bell" kind of folks, this is your time. βοΈ
Tomorrow at 10am Pacific: @codepen.io School live stream with @chriscoyier.net & @shaw.city! π HOMEWORK ASSIGNMENT π Complete this week's CodePen Challenge "Lines and Bars" using the new Mermaid Block! codepen.io/challenges/2... youtube.com/live/Nv09OH0...
CodePen reposted
π‘CSS Tip! Creating CSS Shapes is one of my favorite tasks, and now I can do something even better: Random CSS Shapes! Let's start with Blobs. css-tip.com/random-blob/ You never see the same shape twice. A unique shape for a unique experience! π
CodePen reposted
Bounce! π (CSS only) Live demo @codepen.io: codepen.io/editor/amit_...
CodePen reposted
It's the 2026 LED ART CSS Challenge! π₯³ I've created an LED experiment! Fork the @codepen.io, Do something cool! The most creative & maddest will feature in my next YouTube. tinyurl.com/56cpxceh tinyurl.com/3y6tuv58 #CSSChallenge #CodePen #WebDev #CreativeCoding #CSSArt #LEDArt #FrontEndDev
CodePen reposted
A little color for your feed β¨ My bokeh background got picked on @codepen.io π codepen.io/editor/HighF...
CodePen reposted
This GIF from @joshwcomeau.com's last email is mesmerizing. Here's the border-shape he made of that codepen.io/editor/joshw...
CodePen reposted
Don't be late for class. π§βπ« @codepen.io School: Live in 10 minutes. youtube.com/live/BFvGpJT...
Our Charts & Graphs challenge continues! This week, we're baking up pie and donut charts π© codepen.io/challenges/2... Thanks @MongoDB for sponsoring! srv.buysellads.com/ads/long/x/T...
CodePen reposted
A CSS-only circular nav using experimental `::scroll-*`, `animation-timeline: scroll()` and anchor positioning. Scroll drives the items around the circle, with anchors handling the current label and prev/next controls. β οΈ Chromium only. See the demo on @codepen.io: codepen.io/editor/cbols...
CodePen reposted
It's the 2026 LED ART CSS Challenge! π₯³ I've created an LED experiment... Do something cool! The most creative and maddest will feature in my next YouTube. Your time starts now... youtube.com/watch?v=wHcJ... codepen.io/editor/ivorj...