Bending CSS, Infinite GSAP, and Blazing Rifts

0 views
Skip to first unread message

CodePen

unread,
Jun 3, 2026, 12:07:32 PMJun 3
to recibir-c...@googlegroups.com

Bending CSS, Infinite GSAP, and Blazing Rifts

This week's CodePen community highlights include a truly mind-bending example of bending lines in CSS from Temani Afif, a tutorial on crafting an infinite scroll experience with GSAP and Lenis from Joe Ben Taylor, and a blaze of Three.js sparks from prisoner849.

Plus, Sunkanmi Fafowora shows us how to navigate the CSS checkmark problem, and pixelomo fills the browser with psychedelic Möbius cells.

Bending a Straight Line using Modern CSS
link
"Implementing physics using pure CSS!" Temani Afif combines CSS Anchor Positioning, border-shape, if() and a few more cutting-edge CSS tricks to create lines that bend, straighten, and stretch when you pull them.
Blazing Rifts
pen
Shimmering sparks shoot out of the rifts in a jewel-like stone in this stunning Three.js scene from prisoner849.
Light card
pen
Amit Sheen plays with light and shadow in CSS. Move your cursor around the card to turn it in and out of the light and see where the shadows fall.
CodePen Radio 426: Browserslist in 2.0
pen
Stephen and Chris chat about how the 2.0 editor (well, the compiler really) understands and supports Browserslist, a config format that lives in your package.json file that multiple blocks can understand and make browser support decisions against.
Möbius Cells
pen
pixelomo shares an "Infinitely random Möbius cells animation" in eye-popping, psychedelic color. Watch it for awhile and you'll see the cells split, merge, and blend as they fill your screen.
Software Development is changing. So is GitLab.
sponsor
On June 10 GitLab Transcend returns with new research, new announcements, and a new chapter. See what's next from GitLab with a preview of GitLab 19 and Duo Agent Platform advancements before the broader market does.
CodePen Challenge: Shopping Layout
collection
We went shopping in the final week of the May challenge! Browse through our collection from week 4, including Pens by gh-o-st, ikrprojects, nickrg, and jakebogan01. Ready for your next challenge? This June, we're at the beach!
Navigating the age-old problem of checkmarks in UI with progressive enhancement
link
The ::checkmark pseudo-element has a ton of potential but ain't quite what it should be, yet. In this tutorial for Piccalili, Sunkanmi Fafowora takes us through historical solutions for the checkmark problem, and gives a look at a possible future.
The Never Ending Story: Building a Seamless Infinite Scroll Experience with GSAP & Lenis
link
Learn how to use GSAP & Lenis to build a seamless infinite scroll with a layered parallax depth effect from Joe Ben Taylor at Codrops.
Zigzag - Measured Stagger (JS)
pen
Luis Alberto Martinez Riancho explores a JavaScript technique for handling a grid with cards in different heights. "each item is measured at render time using ResizeObserver. Right-column cards are positioned near the vertical midpoint of their left-column pair, while a small overlap check keeps the second column clear when card heights vary."

Chris’ Corner

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

A11Y

I’ve got a couple of accessibility related articles I thought I’d share this week. I’ve specifically picked them out as examples of well-done accessibility writing. For each, I’ve plucked out a bit I found particularly interesting. But you, you should read the whole thing.

  • Demystifying WCAG 2.2 by Nathan Schmidt. WCAG 2.2 was released late 2023 (and so was this article), but I’m pretty sure 2.2 is the latest stable recommendation, with 3 still being experimental. WCAG is a “technical standard”, like other web specs, so it’s not written for regular website developers like me or you. Nathan’s article, however, is and it covers what’s new about 2.2. I learned that those options on forms like “Shipping address same as billing address? that prevent you from having to enter the same information twice are actually required.
  • Super short note on CSS text by Steve Faulkner. A good reminder that not all screen readers behave the same. Like with <span>?</span> with span::before { content: "?"; }“JAWS announces “question mark, question mark” NVDA does not announce anything.”
  • Screenreader only by Donnie D’Amato. Donnie doesn’t love utility classes in CSS. Even setups that don’t use them generally still typically have a .screenreader-only or .visually-hidden. But what if that was a component, what would the semantics of it be?
  • Content hiding techniques and their accessibility implications by Sara Soueidan. Speaking of those screenreader-only still utilities, we specifically use those because other methods of hiding have side effects we don’t want. For example, a bit of text for screenreaders-only (and thus visually hidden) can’t use display: none; or it will be hidden from the accessibility tree as well, making it useless. We can’t use visibility: hidden; either for the same reason and it would still take up space in the flow. There are a lot more hiding techniques as well, and Sara compares, as the title says, their accessibility implications.
  • Data Table Accessibility in 2024 by Zell Liew. Zell makes a table out of display: grid; and subgrid… and the results were that “Table semantics was not stripped out by screen readers in most browsers. They were able to announce table, rows, and columns accurately.” (with the very notable exception of Voiceover + Safari.
  • contrast-color() is a good thing, but also solving the problem at the wrong layer by Eric Bailey. Eric wrote this in 2024 but it’s especially notable now as the CSS function just became widely available last month. Eric wonders, among other things “Why does all this have to be the website or webapp author’s responsibility?” Would the web be better if browsers enforced this automatically? (Probably.)

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