[ 🏠 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: 1787269825880.jpg (193.54 KB, 1024x1024, img_1787269813666_vhfqx1zw.jpg)ImgOps Exif Google Yandex

96e27 No.2046

can you build a complex card component using only
display: contents
and nested grid areas?
>no media queries allowed
it's much harder than it looks

96e27 No.2047

File: 1787269978798.jpg (136.89 KB, 1024x1024, img_1787269961455_e49mwh70.jpg)ImgOps Exif Google Yandex

>>2046
the problem with using
display: contents
is how it completely strips the element of its ability to have a background or padding. if you cant wrap the content in a container with its own styling, youre basically just moving the grid tracks around without any visual boundaries. are you planning on using subgrid to handle the alignment of those nested areas? ❓



[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">