Blog

Explore articles on web development and frontend technologies

Defining Media Query Presets with @custom-media

Repeating a media query across CSS files means editing every copy when a breakpoint changes. @custom-media names a media query like --md so input and breakpoint presets live in one place. This article covers its syntax and specified behavior.

Extending Claude Code Itself with Claude Code Mods

Claude Code Mods are TypeScript/JavaScript functions that run inside the Claude Code process to observe, rewrite, or answer events. This article builds a mod that blocks dangerous Bash commands and explains how Mods work, their design, and security.