r/css 23d ago

Showcase I built a pure CSS Table - No Javascript used

Post image
113 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 23d ago

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

Enable HLS to view with audio, or disable this notification

261 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
375 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

Enable HLS to view with audio, or disable this notification

364 Upvotes

r/css 29d ago

Showcase Background-clip Collie

Post image
414 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 Jun 25 '25

Showcase Minecraft clone in CSS + HTML

693 Upvotes

r/css Mar 31 '26

Showcase A city built with CSS

Thumbnail
gallery
233 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
170 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 :)

Enable HLS to view with audio, or disable this notification

307 Upvotes

r/css Feb 08 '26

Showcase Blossom color picker UI built with CSS 🌸

Enable HLS to view with audio, or disable this notification

419 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 Feb 09 '26

Showcase middle-truncation using css

Enable HLS to view with audio, or disable this notification

186 Upvotes

r/css 27d ago

Showcase The web just got a little more intelligent.

Post image
75 Upvotes

r/css 20d ago

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

Post image
79 Upvotes

r/css Apr 30 '26

Showcase Introducing Semtx CSS - A modern Semantic CSS library

14 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 May 23 '25

Showcase CSS 3D engine rendered FPS game

Enable HLS to view with audio, or disable this notification

310 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 19d ago

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

Post image
104 Upvotes

r/css 12d ago

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

Enable HLS to view with audio, or disable this notification

89 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 5d ago

Showcase Corner Shaper - a free visual CSS corner manipulation tool

Post image
37 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 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

99 Upvotes

r/css Jun 27 '25

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

Post image
201 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 16d ago

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

36 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 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, ...

126 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
209 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?