48 CZ-PRG (GMT+1)
US-NYC (GMT-5)
Blazor Web App (Server rendered)

WEB DESIGN TRENDS / 02 OF 20

CSS Grid & Flexbox

Grid arranges content across two dimensions while Flexbox distributes items along one axis. Combining them creates layouts that adapt without forcing every section into the same shape.

Use Grid for page regions, dashboards, and card collections; use Flexbox for toolbars, navigation, and aligning items inside each component. Bootstrap 5.3

DESCRIPTION & USE

How the trend works

Grid arranges content across two dimensions while Flexbox distributes items along one axis. Combining them creates layouts that adapt without forcing every section into the same shape.

Where to use it

Use Grid for page regions, dashboards, and card collections; use Flexbox for toolbars, navigation, and aligning items inside each component.

What Bootstrap 5.3 can do

Bootstrap's responsive row and column system is built with Flexbox. CSS Grid remains a useful complement for named areas and dense, two-dimensional layouts.

Useful classes .container, .row, .col-*, .d-flex, .flex-wrap, .justify-content-between, .gap-*

FROM THE ATTACHED HTML

The original example

Studio dashboard
DocsBlog
Cards
Grid
Flex
Type
Motion
3D
Glass
Noise
Search
Footer · grid area “footer”

A PRACTICAL EXTENSION

One more way to use it

Added example
GRID

Set the regions

Named areas keep the overall dashboard structure easy to understand.

FLEXBOX

Align a toolbar

Let controls wrap when a narrow container has less room.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.