Blog

News, tutorials, and updates from the Hammer team.

13 Apr 2026 Hammer Team

Cascade Layers: End the Specificity Wars

CSS @layer gives every rule a declared priority independent of selector specificity. Import third-party CSS into a low layer and stop reaching for !important.

Tutorial
13 Apr 2026 Hammer Team

CSS :has(): UI Logic Without JavaScript

CSS :has() is a relational pseudo-class that reads DOM state directly — form highlights, tab indicators, card variants — replacing common patterns that used to require class-toggling JavaScript.

Tutorial
06 Apr 2026 Hammer Team

Container Queries: Components That Know Their Size

Media queries ask how wide the viewport is. Container queries ask how wide the container is. That difference is what makes truly reusable components possible.

Tutorial
30 Mar 2026 Hammer Team

Native Form Validation That Actually Works

The browser ships a complete constraint validation API. Custom error messages, per-field validity states, and clean submission semantics — no library required.

Tutorial
28 Mar 2026 Hammer Team

Popover API: Zero-JS Tooltips and Menus

Popovers are native now. Light-dismiss, top-layer placement, and ESC close built in — no JavaScript, no Popper.js, just two HTML attributes.

Tutorial
27 Mar 2026 Hammer Team

Native Modals with <dialog>

The browser ships a fully accessible modal element. Stop rebuilding it from divs.

Tutorial
01 Mar 2026 Hammer Team

Introducing Content Mode

Content Mode transforms Hammer into a fully-featured content-driven static site generator. Define collections, write in Markdown, and generate pages automatically.

Feature
18 Feb 2026 Hammer Team

Why Static Sites Still Win in 2026

Frameworks come and go, but static sites remain the fastest, most secure, and most reliable way to put content on the web. Here's why.

General
05 Feb 2026 Hammer Team

Using Hammer CLI in Your CI/CD Pipeline

Hammer's headless CLI lets you run builds in any CI/CD environment — GitHub Actions, GitLab CI, or your own automation scripts. Here's how to set it up.

Tutorial