Element: #960 ratio and fit (display/image) What it shows: One 4:3 gradient file rendered in three boxes: ratio 16/9 (cropped), ratio 1 (cropped) and ratio 1 with fit contain (letterboxed). When to use: Card covers, thumbnails and avatar grids where every picture must share one box whatever its own proportions. Spec: - `Wide cover` - `Square cover` - `Contained` - `src` is an inlined 4:3 `data:image/svg+xml;utf8,` gradient with a circle - Each image sits in a `
` with a `
` naming its ratio Tags: image, ratio, aspect-ratio, crop, object-fit, cover, contain Needs: @codeatlasdev/ui@4.6.0 Components: Image Live demo: https://ui.codeatlas.com.br/docs/display/image#ratio-and-fit
Wide cover
16 / 9
Square cover
1
Contained
1, contain