CSS Ripples, Paper Textures, and DNA

0 views
Skip to first unread message

CodePen

unread,
Jun 8, 2026, 2:11:15 PMJun 8
to recibir-c...@googlegroups.com

CSS Ripples, Paper Textures, and DNA

This week's CodePen community highlights include perfectly-crafted CSS water ripples from MackFitz, a compendium of beautiful SVG and CSS paper textures from ol-iver, and a DNA strand loading animation composed with ultra-modern CSS from Maseone.

Plus, Chris Bolson shares a sporty new select menu, and Christian Alder shows us how to make a nice <mark>.

CSS Strandbeest
pen
Amit Sheen pays tribute to the majestic Strandbeest kinetic sculptures with this pure CSS recreation. Open up the slideVars controls up top and move the --pos slider to see it walk.
CodePen Challenge: Waves
collection
This June, the CodePen Challenge is at the beach. We jumped right into the waves in week one! Check out the waves collection, including Pens by ikrprojects, josetxu, cbolson, and tommyho. Want to join the beach excursion? Week two is on now!
CodePen Radio #427: Next.js and The Journey of SSR
podcast
Stephen and Chris jump on the podcast to discuss our journey from Ruby on Rails to Next.js. We’ve been slowly changing frameworks over the years, and recently we've had new challenges, and some gray-hair inducing bugs.
RippleSCSS and CSSsplashes
pen
MackFitz created these CSS-only realistic water ripples by "constructing complex, smooth, animated plains out of thin, blurry lines." The big water droplet in the right corner opens up to a control menu where you can fiddle with the blur, ripples, and speed.
World Cup 2026 Team Selector Using Custom Select
pen
Chris Bolson is back with another spectacular select menu, harnessing the power of the new appearance: base-select property. The fancy select action is Chrome-only for now, but it falls back to a normal select menu in other browsers. A win for progressive enhancement!
Software Development is changing. And so is GitLab.
sponsor
AI agents are only as good as the context they have. GitLab Orbit gives them a live knowledge graph of your entire software lifecycle, so they move faster, cost less, and get it right the first time. See it live at GitLab Transcend, June 10. Register now for free.
CSS DNA Loader
pen
Maseone combines CSS sibling-index(), if(), abs(), round(), mod() functions with the @property at-rule to craft this loading animation of a twisting strand of DNA.
Paper Textures — Pure SVG & CSS
pen
ol-ivier presents a paper swatch collection crafted from SVG and CSS, featuring everything from a toothy Canson to a flawless crêpe silk. Open up the dropdown and try out some textures.
Nice mark
pen
Christian Alder shares "My take on styling up <mark> element for some nice highlighting", yielding pleasant, watercolor-style highlights on key words. Toggle open the About panel for a details on how it was made.
Every cloud
pen
"A bit of fun in these dark days. Animating color, text-shadow, and the body background-position". From Chris Smith.

Chris’ Corner

A collection of web design and development news and thoughts from CodePen's own Chris Coyier.

I’ve been doing computers for a good minute, but the Scroll Lock key still predates me. There may have been a day when I could have explained what it does, but that knowledge had evaporated until I read Marcin Wichary’s Lock Scroll With a Vengeance. It’s fascinating that the technology that deprecates the Scroll Lock key is… the mouse (and scrollbars and trackpads). Stuff that’s been around. I’m very sure Excel nerds still use love it.

If I must fingersplain a fairly visual concept (I must): Scroll Lock, when enabled, keeps the visually selected thing right where it was as you scroll, rather than requiring the selected thing to be butted up against an edge to trigger scrolling movement as it pushes beyond that edge. I think that was a perfect sentence, but your call. Go look at Marcin’s post to see how this effect has actually made its way into modern interfaces, without the key’s opt-in. My take is that if you’re going to do this, the selected item should be very centered so you can see other items in all directions around it. The examples from HBO Max and YouTube just forced the locked item to the other edge. I’d bet a donut it’s so users “see more sooner”.

Welp, we’re getting a smidge reflective about design, here’s a zinger from Barry Prendergast: The worst designer I’ve ever worked with was also the most productive. It’s exactly what you think it is:

This ambitious young designer pumped out more screens in a day than more-experienced designers would in a week. Leadership adored them. They saw the speed, the volume, the ‘beast mode’ energy — and mistook it for value creation.

It didn’t go well. The lesson?

Good designers slow down when it matters. To clarify the problem. To align with their team. To create outcomes that matter.

I can feel how really talented designers at big orgs are, especially feeling the AI anxiety. Whippin’ out screens ain’t it, which is what AI (and, apparently, particularly energetic and misguided junior devs) are good at. Real design has always been a much more nuanced affair. Jem Gold hits it nicely in Design Is How It Tastes with a banger subhead:

If our design specs only tell models what the interface is made of, they have already forgotten what the interface is for

I admit I’m very impressed at what coding agents can do these days, but I remain skeptical that AI can really understand the human experience, a prereq for great design. At the moment, AI is headed for the more rote instructions-following output:

A few months ago, Google Labs released DESIGN.md. The idea is sound: codify your design ethos in a single markdown file so that coding agents can implement it consistently. Write it once, ship it everywhere. Portability matters because interfaces are increasingly built by or with agents.

But read a typical DESIGN.md and you will find language like this:

Use 8px radii. Use a neutral palette with a pink accent. Buttons should have primary and secondary states. Cards should have subtle borders.

Useful, but thin. It describes the produced object. It does not preserve the intended encounter.

I used the word “great” design above. A worthy distinction. Certainly AI can poop out generic but decent design. I see live design work powering successful companies regularly that would probably benefit from letting an AI loose on their pages. Bringing up the average bar is probably a good thing for the web. But great design remains a human endeavor. CodePen Alum Jake Albaugh opens his Design is the work article with:

We’re in a moment where it has never been cheaper or faster to build something convincing.

There is all this stuff we know that is absolutely vital to what we build. Jake lists a small handful of that stuff:

AI doesn’t know your constraints. It doesn’t know your strategy. It doesn’t know what moment in the market you’re in, what your team is trying to prove, or what your customers actually need versus what they’ve said they want. The expectation — the definition of what good looks like — is something only you can provide.

Blech enough AI for one Chris’ Corner.

How about a nice little design lesson from Jono Hey:

An illustrated 'sketchplanation' on front-loading keywords when writing for the web. The example is a list of conference features. The initial list of features reads: sessions for networking, all breaks will have coffee available for free, open workshops, the hotel has direct access to the beach. The updated list reads: networking sessions, free coffee at all breaks, workshops open to all, beach access from the hotel. Keywords up front!

Writing, you say? Word choice is absolutely a part of design. Great design, anyway.

I’ll leave you with Design. Regret. Confess. — a site for all you designers out there to share your profession disasters, then commisurate through reading others.

I once copied a logo from Logos That Slap for some concept sketch and it got approved.

lol I mean AI copies, but humans copy.

You can adjust your email preferences any time, or instantly unsubscribe to emails of this kind. Need help with anything? Hit up support. Interested in sponsoring? Here's our sponsorship info.

CodePen · 70 SW Century Dr #1019 · Bend OR 97702

Reply all
Reply to author
Forward
0 new messages