Feed

CSS

Follow CSS layout techniques, Flexbox, Grid, and frontend styling. Our digest aggregates animation libraries, preprocessor frameworks, and CSS-in-JS tooling from developer communities.

Articles from the last 30 days

Oat – Ultra-lightweight, semantic, zero-dependency HTML UI component library
01Sunday, February 15, 2026

Oat – Ultra-lightweight, semantic, zero-dependency HTML UI component library

Oat is an ultra-lightweight, zero-dependency UI component library featuring 6KB CSS and 2.2KB JS. It focuses on semantic HTML, native WebComponents, and accessibility without framework bloat. Designed for long-term stability, it avoids over-engineered ecosystems by using vanilla CSS variables and standard elements to provide a modern, minimal aesthetic similar to shadcn.

x86CSS - An x86 CPU emulator written in CSS
02Tuesday, February 24, 2026

x86CSS - An x86 CPU emulator written in CSS

x86CSS is an experimental project that implements a functional 16-bit x86 CPU emulator using only CSS, without requiring JavaScript. It executes native 8086 machine code, supports C programs compiled via GCC, and utilizes style container queries and animations for its internal clock. It demonstrates turing completeness through complex Cascading Style Sheets logic.

Web Components: The Framework-Free Renaissance
03Tuesday, February 17, 2026

Web Components: The Framework-Free Renaissance

Modern browsers now natively support defining custom elements, shadow DOM, and event systems, allowing developers to build reactive interfaces without frameworks like React. Using these web standards ensures long-term stability and backward compatibility. AI assistants further simplify learning these patterns and help implement encapsulated, modular UI components efficiently.

Sources:Hacker News174 pts
CSS-Doodle
04Friday, February 13, 2026

CSS-Doodle

css-doodle is a web component for drawing patterns with CSS, utilizing a Grid Layout. It provides specialized selectors like :doodle and :container, along with functional macros for random values, list picking, mathematical targeting via @match, and complex shapes using SVG filters, GLSL shaders, and polar equations.

Sources:Hacker News167 pts
Show HN: A custom font that displays Cistercian numerals using ligatures
05Sunday, February 8, 2026

Show HN: A custom font that displays Cistercian numerals using ligatures

This digital project showcases a unique implementation of historical typography where modern numbers are automatically rendered into medieval Cistercian numerals using a custom CSS font. By utilizing specialized font encoding, the website allows users to interact with these 13th-century monk-designed symbols through standard web interactions. Remarkably, the system maintains functional accessibility, enabling users to copy-paste the symbols back into standard Arabic numerals and use browser Search functions like Ctrl/Cmd-F to locate specific values despite their complex visual representation on the frontend.

Sources:Hacker News149 pts
Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version
06Saturday, February 7, 2026

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

This technical exploration demonstrates a creative method for implementing an interactive menu using only HTML and CSS, eliminating the need for JavaScript. The technique centers on the use of two distinct clip-path properties to manage visual transitions. The first creates a circular reveal effect, expanding from the top-left to the bottom-right of the screen. By utilizing a specific calculation involving vmax and a multiplier of 1.42—representing the square root of 2—the developer ensures the circle covers the entire viewport regardless of aspect ratio. The second clip-path utilizes a polygon shape to simulate a light ray effect. While currently hardcoded, this approach offers a lightweight, high-performance alternative for web animations and UI design.

Sources:Hacker News121 pts
Git Blamed Me, CSS Gaslit Me, Node Ghosted Me, React Re-rendered My Trauma
07Saturday, February 14, 2026

Git Blamed Me, CSS Gaslit Me, Node Ghosted Me, React Re-rendered My Trauma

This piece humorously analyzes the modern web development stack, contrasting the deterministic nature of Git with the interpretive behavior of CSS, the temporal complexity of Node.js, and the declarative state management of React. It explores how these disparate philosophies—immutable history, cascading negotiation, event-driven concurrency, and virtual DOM reconciliation—converge to create modern engineering.

Sources:Dev.to65 pts
Justifying text-wrap: pretty
08Wednesday, February 25, 2026

Justifying text-wrap: pretty

In 2025, Safari introduced 'text-wrap: pretty', improving web typography through balanced line breaks. While utilizing dynamic programming similar to TeX, the implementation currently conflicts with 'text-align: justify', causing excessive whitespace when lines are systematically shortened. This analysis highlights the challenge of combining intelligent line-breaking algorithms with justification in responsive web environments.

Sources:Lobsters54 pts
CSS Clicker
09Thursday, February 12, 2026

CSS Clicker

CSS Clicker is an innovative idle game built entirely using HTML and CSS, functioning without any JavaScript or server-side code. Developed as a technical challenge inspired by the Cohost community, it allows players to build and upgrade websites. The project demonstrates the power of CSS media queries and state management without traditional scripting.

Sources:Lobsters54 pts
Modern CSS Code Snippets
10Monday, February 16, 2026

Modern CSS Code Snippets

The content provides a curated collection of modern CSS techniques that serve as native replacements for legacy hacks. It focuses on simplifying web development by offering weekly side-by-side comparisons, helping developers transition from outdated workarounds to clean, modern standards for common styling challenges.

Sources:Lobsters53 pts