"If a worker wants to do his job well, he must first sharpen his tools." - Confucius, "The Analects of Confucius. Lu Linggong"
Front page > Programming > Cool CodePen Demos (October 4)

Cool CodePen Demos (October 4)

Published on 2024-11-16
Browse:245

Cool CodePen Demos (October 4)

Lightweight Water Distortion Effect

Ksenia Kondrashova created a demo with a beautiful shader with a water effect. It looks realistic, like water moving in a swimming pool. It feels calming and hypnotic.


3D parallax effect on hover

Temani Afif creates amazing effects using a single image tag. This is a great example: One HTML tag creates a startling 3D effect… and the code is so simple! The demo barely requires 18 lines of CSS!


Selective saturation on hover

Another cool demo using a single image element. Ana Tudor used SVG filters to apply a color interpolation mask and highlight picture elements based on color.


The Annoying Potato

You’ll need the speakers on for this fun demo by Sophia Wood (aka Fractal Kitty). Click on the sound buttons or press the 1–8 buttons to get the potato to talk… but be careful, it may be equally entertaining and annoying.


Wheel Gallery (CSS only)

An animated circular gallery created by Chris Bolson. Mouse over the pictures and see them animate. I like how the title shows up alongside the photo movement. Smooth.


pointillism NASA images

Another demo by Sophia Wood. She used P5 to generate points that are generated infinitely. Each cycle they will be at a smaller size, revealing a space picture. As usual, a creative combination of art and code.


color-contrast checker table

This is more of a “nerdy” accessibility demo: a grid with all the CSS color names and their color contrast combination. Dave Rupert used the WCAG 2.1 specification to determine the results.


My Yard sign

Chris Coyier replicates this iconic sign, applying scroll-driven animations to get all lines to dynamically adjust (the text is editable) their font so all lines occupy the same width. Because it uses the animation-range property, this demo will only work on Chrome.


Scroll-driven animated card stack with scroll snap events

Paul Noble creates a stunning card stack combining scroll-driven animations with scroll-snap events. You have to use a trackpad (this demo will not work with a mouse) to enjoy the nice transitions.


Quick double progress

Another demo by Ana Tudor. The code is clean, short, and semantic. I liked the design of this component (from a Reddit question?) and could see myself using something similar in some projects.



If you liked this list, check out last month's demos!

Release Statement This article is reproduced at: https://dev.to/alvaromontoro/10-cool-codepen-demos-october-2024-1li0?1 If there is any infringement, please contact [email protected] to delete it
Latest tutorial More>

Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.

Copyright© 2022 湘ICP备2022001581号-3