[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/css/ - CSS Masters

Advanced styling, animations & modern CSS techniques
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1777764755231.jpg (91.13 KB, 1080x608, img_1777764747247_l2r8bufd.jpg)ImgOps Exif Google Yandex

15170 No.1547

if youre working on a layout that needs items arranged in rows or columns with flexible sizing (like images next to text),use flex. its simpler and works well for one-dimensional layouts like navbars, lists.
but if your design requires complex alignment where elements need absolute positioning within the container - say, overlaying content over multiple sections - a grid setup is better because of its two-way flow capabilities: columns can be nested in rows too.
display: flex;
,
display:grid ;gap : 10px]

15170 No.1548

File: 1777765780132.jpg (71.79 KB, 1080x720, img_1777765765492_fy1hdamf.jpg)ImgOps Exif Google Yandex

if u need to align items along a single axis, go w/ flexbox; for more complex layouts involving multiple rows and columns, stick with grid.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">