CodePen

CodePen

@codepen.io

Build, test, and discover front-end code πŸ’» https://codepen.io Support: https://codepen.io/support

3.3K followers93 following397 posts

The in-app notification for CodePen AI was fun to make. Penny gets to zoom around the <dialog> in a <canvas> with GSAP to make it smooth.

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

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

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.

Shaw@shaw.city

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

πŸŽƒ 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.ioπŸŽƒ Halloween ~~FizzBuzz~~ BooScary with CSS random()Hover over the floating numbers to get your BooScary πŸ§™ I wanted to do was use this weeks challenge as an excuse to test out the new CSS random() fun

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...

blog.master.devTransferring sibling-count() to a Parent ElementDiscover how to count children in CSS using hacks with Scroll-Driven Animations. Learn techniques to transfer values effectively!

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)

codepen.ioGTA: CSSA code demo by Kevin created on CodePen
Kevin Powell@kevinpowell.co

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 πŸ˜…

βœ‚οΈ πŸŒ† Image cropping everywhere! You can now crop an image in the Asset Manager (which opens in both 2.0 and the Classic Editor) and directly in the 2.0 editor.

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

πŸ•’ Class starts in 3 hours! If you're one of those "do homework right before the bell" kind of folks, this is your time. ✍️

Shaw@shaw.city

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