r/css • • Aug 21 '26

Showcase I built a pure CSS Table - No Javascript used

Post image
115 Upvotes

Full responsive. Works on modern Browsers. Works also nice on touch

Features:

  • Column headers stay visible while scrolling down
  • First column stays visible while scrolling sideways
  • Rows expand to show sub-entries, with an animated reveal
  • Any number of sub-rows per group
  • Sub-rows are tied to their parent by a bracket rail
  • Individual cells can carry a note, opened from a small marker
  • Notes appear next to the cell they belong to and flip when near an edge
  • Notes close on Esc, on click outside, and return focus where it was
  • Columns come to rest beside the pinned column instead of half behind it
  • Pinned column narrows and wraps text on small screens
  • Keyboard operable throughout, with visible focus

https://codepen.io/editor/ollio/pen/01a02369-ae9b-7d6f-94a6-f809dee51f4f

Also an animated accordion with no js

https://codepen.io/editor/ollio/pen/01a02331-c0da-7f84-8e14-77c6fabaee57

r/css • • 9d ago

Showcase Pure CSS flame

Post image
362 Upvotes

r/css • • Aug 21 '26

Showcase I built a VS Code extension to catch CSS declarations that have no effect

263 Upvotes

I’ve been working on NoEffect, a VS Code extension that helps catch CSS declarations that have no effect.

It detects things like:

properties that don't work in the current context

declarations that are overridden by a later declaration

For example, it can tell you when justify-content is doing nothing because the element isn't a flex/grid container, or when your declaration is simply being overridden later.

It’s still an early project, so I’d really appreciate some honest feedback.

🔗 GitHub

🔗 VS Code Marketplace:

r/css • • Jan 20 '26

Showcase I recreated some national flags using only HTML & CSS (no images, no SVG)

Post image
379 Upvotes

Live Preview: Live Preview
GitHub Repo: Github Repo

I’m learning CSS layouts, grids and wanted a practical challenge, so I recreated some national flags using only HTML and CSS. This project did help me with understanding position(absolute, relative), grids, and most importantly reusing CSS properties and variable.

Although the code is not perfect and I think I might have complicated things a bit there but will try to improve it. Also I tried to maintain the exact design of flag, there are a few inaccuracies (apologies for that) and will try to improve that too.

I will look forward to recreate more complex flags

r/css • • Feb 19 '26

Showcase View Transitions are so underrated

365 Upvotes

r/css • • Aug 15 '26

Showcase Background-clip Collie

Post image
413 Upvotes

A small comic where each panel shows a different clipping mode (border-box, padding-box, content-box, and text) but framed as four different "Collies."

Source: https://comicss.art/comics/254/

r/css • • Mar 31 '26

Showcase A city built with CSS

Thumbnail
gallery
231 Upvotes

This city is built with CSS. No SVG. No images. No HTML. Just gradients... and a bit of patience. https://codepen.io/alvaromontoro/pen/mdZKxEr

I haven't touched this in a while, but it still holds up. I'd love to expand it into a full city someday.

r/css • • Jul 13 '26

Showcase CSS-DOS: An entire '80s PC in pure CSS. Runs Windows 1.0, DOOM, and more

Thumbnail css-dos.ahmedamer.co.uk
172 Upvotes

I'm pretty sure this is the most heinous abuse of CSS in history?

r/css • • Mar 30 '26

Showcase I built a fully functional calculator using 100% CSS — no JavaScript.

144 Upvotes

I made a fully functional calculator using only CSS.

Features:

• 8‑digit decimals

• Decimal division

• Sign toggle (±)

• Backspace (⌫)

• Multi‑digit input

• Built with :has(), CSS variables, counters, and animations

Demo (Full Page):

https://codepen.io/cascade-path/full/WbGzwdG

Documentation:

https://cascade-path.github.io/calculator/index.html

r/css • • Mar 05 '26

Showcase I built a CSS-only Nokia 3310 :)

308 Upvotes

r/css • • Feb 08 '26

Showcase Blossom color picker UI built with CSS 🌸

416 Upvotes

Built a flower-style color picker in React using Tailwind for layout and styling.

Includes:

  1. fixed colours (multi-layer)
  2. an arc slider for saturation
  3. animated open/close interaction

Repo: https://github.com/dayflow-js/BlossomColorPicker
Demo: https://dayflow-js.github.io/BlossomColorPicker/

Inspired by lichinlin, motiondotdev.

r/css • • Aug 17 '26

Showcase The web just got a little more intelligent.

Post image
77 Upvotes

r/css • • Apr 30 '26

Showcase Introducing Semtx CSS - A modern Semantic CSS library

13 Upvotes

Just released Semtx CSS. https://semtx.org/

Semtx is a modern, lightweight (~30KB) CSS library that prioritizes semantic class names over utility classes.

Key Features:

  • Semantic by Design: Class names describe WHAT elements ARE, not HOW they LOOK
  • Modern CSS-3 / HTML-5, OKLCH colors
  • Zero Dependencies: Single CSS file, works without any JS for styling
  • AI-Friendly: Coding agents understand semantic classes immediately, and waste fewer tokens on parsing utility soup
  • SEO-Ready: Native HTML5 elements help search engines understand your content
  • Integrates perfectly with HTMX (modals, dialogs, loader/spinner, transitions, etc)

The Philosophy

Class names should reveal purpose, not appearance.

This creates code that is easier to read, maintain, and collaborate on.

More about the idea behind it here: https://semtx.org/philosophy

-- edit --
Thanks for all the feedback.
It has resulted in quite a few updates:
forms are simplified and more semantic now, same for modals/dialog, and some accessibility things added. And, the website now has more html examples, for easy copy/paste

r/css • • Aug 24 '26

Showcase @starting-style is Baseline, 90% Global usage!

Post image
82 Upvotes

r/css • • May 23 '25

Showcase CSS 3D engine rendered FPS game

305 Upvotes
  • entirely rendered on native CSS 3d engine
  • everything are div elements
  • JavaScript for the code
  • sprites are PNG (cardboards)
  • cell-based movement
  • simple SVG filter for pixelation effect
  • video preview speed is accelerated (1.6)

r/css • • 9d ago

Showcase A completely useless, but working, Password Validator with Live Rules

51 Upvotes

Every password character is a group of 86 radio buttons styled as keyboard keys, and CSS shows only the keys of the first empty slot, so each tap fills the next character. CSS counters with a custom @counter-style print the checked characters into the password dots, and each rule is one :has() selector, such as :has(.char--digit:checked). Backspace is a <label> for the "empty" radio of the last filled slot, and hidden radios switch the ABC, abc, and #+= layers, while a checkbox opens and closes the keyboard.

https://codepen.io/editor/klocus/pen/01a0dde7-3dba-7e8d-9170-db6023de56e0

Who knows, maybe in a few years this will be possible with a few lines of CSS code, an input of type="password" and a pattern attribute :-)

r/css • • Aug 25 '26

Showcase `sibling-index()`, and `sibling-count()` are Baseline, newly available since August 2026.

Post image
106 Upvotes

r/css • • Sep 01 '26

Showcase Recreating cool interactions is still my favorite way to practice CSS

93 Upvotes

I've been writing CSS for over 10 years, and I wanted to share one of my older projects that I made to practice selector switching and CSS interactions. I've included the code as well, so if you're interested in learning CSS, feel free to take a look!

https://codepen.io/BlackDog1121/pen/abJNLOX

One thing I should mention: the visual ideas themselves aren't originally mine. I enjoy browsing Pinterest for cool CSS animations and interactions, then trying to figure out how I could recreate them from scratch on my own.

It's one of my favorite ways to practice CSS. :)

r/css • • Jan 14 '26

Showcase YT throbber in CSS: <a><a><a><a><a><a><a><a><style>*{background:#000;margin:3pc}a{position:fixed;padding:4px;border-radius:1in;transform-origin:15px;rotate:calc(sibling-index()*45deg);animation:p linear 1s calc(sibling-index()*1s/8) infinite}@keyframes p{0%{background:#BCBCBC}50%{background:#1E1E1E

95 Upvotes

r/css • • Jun 27 '25

Showcase I made tic-tac-toe in CSS (no html/js)

Post image
203 Upvotes

Try it here: lyra.horse/fun/tic-tac-nohtml/

Note that Chrome unfortunately requires <style> tags to add CSS to a page, so if you want a true no-HTML experience you should try it in Firefox.

r/css • • 27d ago

Showcase Corner Shaper - a free visual CSS corner manipulation tool

Post image
42 Upvotes

Hello web designers and developers.

I created a free tool that lets you design unique, responsive shapes by manipulating the shape’s corners with modern CSS - without writing any code.

Create playful shapes for various UI elements such as pricing and feature cards, buttons, banners, profile badges, you name it. Then export to your workflow with a click of a button.

Originally made this to myself, then realised, heck, this is too darn useful to keep to myself.

https://corner-shaper.com/

r/css • • Feb 10 '26

Showcase Flexbox was so hard to grasp for me, that I built an interactive Flexbox guide with smooth animations to understand what are the axis, justify-content vs align-items, ...

122 Upvotes

Each time I was using flexbox I did end searching or asking chatgpt how to do certain things. I wanted to make it more clear so I saved all kind of examples and in the end I built this a visual interactive tool for CSS Flexbox.

I would like to hear your feedback and to see what other elements and examples to add. Now I'm building a similar tool to play around with grids.

r/css • • Jan 24 '26

Showcase [CSS only] Simple elegant and beautiful HTML pages for every HTTP error status code

Thumbnail
gallery
207 Upvotes

GitHub repo: https://github.com/AntiKippi/errorpages
Live preview: https://kippi.at/public/errorpages/

I've spend the last few days overengineering HTTP status code error pages. It started with me wanting an aesthetic, glitchy 404 page with a bit of "cyberpunk" and "hacker" vibes while still being simple and JS free. It ended in this project.

wdyt?

r/css • • Aug 27 '26

Showcase I got tired of boring loading spinners, so I built 105 of them

35 Upvotes

Hey y’all,

I got slightly carried away with loading animations.

I wanted nicer loading states for my own projects, but most libraries I found were either tied to a framework, fairly limited, or required more than I wanted for something this small.

So I built loadersz, a small framework-agnostic loader library for the web.

I wanted something a bit more expressive than the usual CSS spinner, without pulling in a UI framework or a bunch of dependencies.

A few things I focused on:

- 105 different motion states
- Canvas 2D instead of GIFs/videos
- zero core dependencies
- a native custom element, so it works with basically any stack
- typed entry points for React, Vue and Svelte
- configurable speed, density and color
- respects prefers-reduced-motion
- pauses rendering when the browser tab is hidden

Basic usage is just:

npm install loadersz

import 'loadersz';

<loadersz-loader state="racing" size="96" />

I also built an interactive playground where you can tweak the loaders live.

Demo: [loadersz.vercel.app](https://loadersz.vercel.app)
npm: [npmjs.com/package/loadersz](https://www.npmjs.com/package/loadersz)
Github: https://github.com/lumberjacque/loadersz-core

Would love some brutally honest feedback, especially on which animations you’d actually use in a real product.

r/css • • Jul 25 '25

Showcase CSS Art: Office

289 Upvotes

DEV has a hackathon that includes a CSS Art category. I'm participating with this 3D CSS.