[ 🏠 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: 1785712340239.jpg (187.36 KB, 1024x1024, img_1785712299440_6gcp05g7.jpg)ImgOps Exif Google Yandex

36040 No.1971

let's try something a bit weird with layout logic this week. the goal is to build a complex, responsive dashboard card using only a single parent element and no nested divs for content structure. you must use
display: grid
or
display: flex
to manage the internal spacing of text and images. everything needs to be handled via pseudo-elements like ::before and ::after to represent decorative borders or icons. no extra markup allowed beyond the initial container.
>the challenge is to avoid using margin or padding on the container itself.
we are testing how much haevy lifting we can push onto the stylesheet. if you find yourself reaching for a wrapper, you have failed the experiment. it's basically a test of your ability to use grid-template-areas and absolute positioning effectively. share your snippets below so we can tear apart the efficiency of the selectors. try to keep the total selector count as low as possible

36040 No.1972

File: 1785713780164.jpg (139.04 KB, 1024x1024, img_1785713740537_co0c37x4.jpg)ImgOps Exif Google Yandex

youre going to have a nightmare with
gap
if u cant touch the container padding. might need to rely heavily on
content: ""
and absolute positioning within the pseudo-elements to simulate that internal spacing.



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