CodePen

@codepen.io

Build, test, and discover front-end code 💻 https://codepen.io Support: https://codepen.io/support

What if there is a specific file in a Pen you want to use elsewhere? Just grab the URL for it and use it. Global Assets is more specifically designed for that, though — especially for images where it's got extra superpowers like resizing, quality control, and auto-formatting.

Oh crap. Something is off on this Pen but I KNOW I had it working correctly last night. Just revert to that version, no big deal. (And you can check it out and confirm first.)

Code formatting is covered on CodePen. You can "Format File" from the context menu on any file as a one-off. Or add a block like Prettier, which offers better config control and diagnostics. It's all smoothly integrated.

You know how we write the HTML emails we're using for our launch email campaign? In MJML! mjml.io It's such a nice language for crafting HTML emails that work across all email clients. You know where we do it? On CodePen (because we support .mjml now). 💪

Bild

> Blocks adds a visual layer to the opaque world of preprocessors, linters, and build processes. CodePen takes those processes and stack them on top of each other to form a predictable pipeline that you can easily visualize and understand how the sausage gets made. daverupert.com/2026/07/code...

The new yet familiar CodePen 2.0

CodePen v2 is now released! Because I co-host a podcast with Chris I’ve had an up-close perspective at this monumental effort over the last five years. I know how much work has gone into this release…

daverupert.com

A new #cssonly demo: scroll-triggered counters. In supporting browsers (Chrome only currently), counters count up when scrolled into view. Built with `timeline-trigger`, `animation-trigger`, `attr()`, `@property` and `sibling-index()`. See the demo on @codepen.io: codepen.io/editor/cbols...

CSS only counters using timeline-trigger, animation-trigger & attr()

This demo uses the experimental timeline-trigger and animation-trigger properties to start CSS animations when the counters enter the viewport. The co

codepen.io

Pleasantly surprised to see one of my CodePen demos passed 1,000 hearts 🥺🥰 Folks might think it's silly, but these little things mean a lot to me as someone that's constantly fighting with myself that I'm not good enough. So thank you to everyone, it's a good boost ☺️ codepen.io/HejChristian #CSS

Screenshot from my codepen page (Link in the post) showing my top 6 most popular demos:

- CSS Holographic Masks
- CSS Only Parralax Layers
- Framed Parallax Layers
- Card Glow / Bioiluminesence
- Nice <mark>
- and Playing Card

With a thumbnail for each.

Here is my idea of the animated Grid layout No View Transitions, No JS, and no Anchor Positioning. You get an animation on resize and when adding/removing new items. css-tip.com/animated-grid/

Bramus@bram.us · 2mo ago

New demo: Animated CSS Grid Layout. codepen.io/bramus/pen/o... Here’s the thing: No View Transitions. No JS at all. Instead, it uses Anchor Positioning to anchor the cell contents to the cell. Then, CSS transitions are used to animate the contents to their new location as the grid re-layouts.

btw: if you design in CSS you barely need this: a quadratic bézier is easy to compute in calc(), so your typographic curve can follow the browser width directly, not a single breakpoint. KurvenLineal is handy when you need to hit certain key font-sizes. Demo @codepen.io codepen.io/editor/meoda...

David Aerne@meodai.bsky.social · 4w ago

tiny lib: KurvenLineal: fits a bezier easing to an existing size scale. cubic-bezier in reverse... I like sizes in a design system to be on a curve. When a DS wasn't built that way, this changes all sizes at once, in relation to where they were. meodai.github.io/kurvenlineal/

At the CSSWG there is an issue about 2D Mesh gradients. The consensus was that whatever we do, it should be PDF compatible. With the help of Gemini I found my way to “Coons Patches” as the underlying mechanism. Using AIStudio, I then generated this editor: genuine-waterfall-crane.codepen.app

Screenshot of the editor.