Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

div alignment

Public visualization

div alignment

0 stars0🌍 Public
AAndrea Picciau
Last edited Oct 4, 2021
Created on Oct 4, 2021
Forked from HTML Starter

This example demonstrates how CSS Flexbox aligns nested divs along a shared baseline. A black background container holds two groups—a yellow left section with red, green, and cyan boxes, and a red right block—all arranged using `display: flex`, `flex-direction: row`, and `align-items: baseline`. The left group uses `justify-content: flex-start` and `align-content: flex-start` to pack the child divs tightly. Different heights and line-height values show how baseline alignment affects vertical positioning of text and block elements.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed