#css

The latest css news, releases, and analysis for TypeScript and web developers.
4 articles tagged with css
Fresh 2.3: Zero JS by Default, View Transitions, and WebSocket Support

Fresh 2.3: Zero JS by Default, View Transitions, and WebSocket Support

Fresh 2.3 makes the 'zero JavaScript by default' promise a hard reality, adds native View Transitions, introduces built-in WebSocket handlers, CSP nonce injection, and Temporal API support for islands.
The CSS vertical-align Problem Is Finally Solved: text-box-trim and margin-block

The CSS vertical-align Problem Is Finally Solved: text-box-trim and margin-block

For decades, centering text vertically in buttons, badges, and layouts felt slightly off. The culprit: leading space, invisible padding built into every font's metrics. Two CSS properties now solve this at different levels: text-box-trim for inline text and margin-block with cap/lh units for block layouts.
Nuxt 4.4 Ships Vue Router v5, Typed Layout Props, and 28x Faster Dev Routing

Nuxt 4.4 Ships Vue Router v5, Typed Layout Props, and 28x Faster Dev Routing

Nuxt's latest point release brings major under-the-hood improvements: Vue Router v5, a custom useFetch factory API, an accessibility announcer composable, and a routing system migration that makes hot-module replacement up to 28x faster.
Pretext: The DOM-Free Text Measurement Library That AI Coding Agents Are Already Using

Pretext: The DOM-Free Text Measurement Library That AI Coding Agents Are Already Using

Cheng Lou just released Pretext, a pure JavaScript library that measures and lays out multiline text without touching the DOM. Here's why that matters for virtualization, layout control, and AI agents that write UI code.