Three sliders writing straight into CSS custom properties, so the whole card restyles as you move them.
Nothing re-renders. The browser recalculates what depends on the variable and nothing else, which is why it stays s...
Community Feed
Glass Login
Glassmorphism login card. backdrop-filter does all the work, the rest is a border with a bit of white in it.
Works best over something with colour behind it, which is why the background is a gradient and not a flat grey...
Skeleton Shimmer
The loading skeleton every app uses, in about twelve lines of CSS. One gradient, moved across with background-position.
It swaps to real content after two seconds so you can see both states. #css
My Project
My Project
Star Rating
A star rating that works on hover and on click, drawn with one SVG path reused five times.
The clearing on mouseleave matters: without it the stars stay wherever your cursor last was and nobody trusts the value. #javasc...
Endless Marquee
A logo ticker that loops with no gap and no JavaScript. The list is duplicated once and the track slides exactly half its width, so the seam never shows.
It pauses on hover, because a moving thing you cannot read is jus...
Accordion, No JS
An accordion built on details and summary. Open one and the others close, which normally needs JavaScript, except the name attribute on details does it natively now.
Keyboard works out of the box because the browser wro...
Strength Meter
A password strength meter that explains itself instead of just turning red.
It scores length first, because length beats every clever substitution, and it says which thing would help most next. #javascript #design
Typewriter Line
A typewriter effect in about fifteen lines of JavaScript. It types, pauses, deletes, and moves to the next phrase.
The cursor is a CSS animation, not part of the string, which is the bit people usually get wrong. #javas...
My Project 29/04/2026
Test
Community Project 30/11/2025
tried out the complete template on site
C P
Very cool html+ CSS premade template by Merik
Progress Ring
An SVG progress ring driven by stroke-dasharray. One circle, two lines of maths, and it animates for free because stroke-dashoffset is animatable.
Drag the slider. #javascript #design
Tooltip, CSS Only
Tooltips with no JavaScript, positioned with one pseudo element and a transform. They read their text from a data attribute, so adding one is adding an attribute.
Hover any of the four. #css
Ignite
Lit the match. Match at competion in https://codepen.io/ . #CodePenChallenge
Pricing Hover
Community Project 08/11/2025
hype hivi
Untitled Project 08/11/2025
Test1
CodePen Home [cpc-css-shape] regular-polygons with corner-shape
CodePen Home
[cpc-css-shape] regular-polygons with corner-shape, PURE CSS
Drag To Order
A sortable list using the browser's own drag and drop. Pick an item up and drop it where you want it.
The placeholder is the dragged element itself with a class on it, so nothing is cloned and nothing gets out of step. ...
COMBO
Escape Road
Scroll animations with CSS
You dont need JS here
Flip Card
Before And After
An image comparison slider. Drag the handle and the top image clips to follow it.
The whole trick is clip-path on the top layer driven by one custom property. No canvas, no library. #css #javascript
Tabs That Slide
Tabs with an underline that travels to whatever you pick, measured from the tab itself rather than hard coded.
Arrow keys work, because tabs are a listbox to a keyboard and the browser will not do that part for you. #ja...
Real Dialog
A modal built on the dialog element. Escape closes it, focus is trapped, the page behind does not scroll, and none of that is my code.
Every one of those is a bug in a hand built modal. The browser already shipped the f...
Custom curved scrollbars
The scrollbar follows the border-radius of the container, it's length being calculated by the amount of content
Count Up
Numbers that count up when they come into view, using IntersectionObserver rather than a scroll listener.
Scroll listeners fire hundreds of times a second and you end up throttling them. The observer fires once. #javasc...
Masonry, No JS
A masonry layout in six lines of CSS using columns. Items of different heights pack together with no gaps and no library.
The catch worth knowing: columns read top to bottom, not left to right, so the order is different...
Copy That
A copy button that actually tells you it worked. Clipboard API, with the label changing and changing back.
The detail people skip: it goes back to Copy on its own, so the button never lies about its current state. #java...
Spinner Six Ways
Six loading spinners, all pure CSS, all under ten lines each. Nobody needs a library for this.
The last one is my favourite. #css
Tidy Horizon
Theme Switch
Toast Stack
Toast notifications that stack, auto dismiss, and can be closed early. No library, about thirty lines.
The one thing worth copying is that each toast removes itself on transitionend rather than on a second timer, so it ...
Loading comments...
Sign in to comment.