Dukkan sigogi v0.1.2275 Sep 2026Zane shafi Feed

An rubuta bayanan sabuntawa da Turanci.

Aspect-ratio boxes hold their shape, and centred CTAs centre

Two layout fixes for the shapes modern pages are built from. A box with aspect-ratio (a 16:9 video embed, a 1:1 square tile) that took its width from the page was ignoring the ratio and collapsing to the height of its content - so hero banners became thin strips and grids of 'square' tiles came out as bars. The height is now derived from the width and ratio, for plain blocks, flex containers and grid cells alike. And an inline button or link centred under a headline now actually centres instead of hugging the left edge. Both found by rendering real pages and looking at them.

Abin da ya canza

canje-canje 3
  1. Zane shafiaspect-ratio boxes are the right shape. A box that sets aspect-ratio and takes its width from its container now works out its height from the width and the ratio, instead of collapsing to its content - so a 16:9 hero is 16:9 and a 1:1 tile is square, whether it is a plain block, a flex container, or a grid cell.
  2. Zane shafiCentred call-to-action buttons centre. An inline button or link placed among headings and paragraphs under text-align:center used to hug the left edge, because the invisible box the engine wraps such content in dropped the alignment; it now inherits it and centres as intended.
  3. Zane shafiMore real pages render right. These came out of rendering full pages - a landing page, a modern-CSS showcase - and inspecting the pixels, which is now a standard part of how layout and paint changes get verified here.
Duk tun v0.1.227 a wuri ɗaya

Sigogi

v0.1.0 - 0.1.9 · 10 Jul 2026418v0.1.427 · 25 Nov 2026