[ 🏠 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.)
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

File: 1780562982838.png (845.36 KB, 1920x1080, img_1780562975236_3tjj72wt.png)ImgOps Google Yandex

5d14a No.1693[Reply]

found this case study about why we can't just copy-paste everything from llms without checking the logic. it dives into a refactor where the ai basically hallucinated a broken component structure. it's basically just glorified guessing and we should probably stop treating
npm install
like a magic fix for bad architecture. anyone else feeling like vibe coding is making us lazy with our component props?

found this here: https://www.freecodecamp.org/news/stop-trusting-ai-code-blindly-a-react-code-refactoring-case-study/

44430 No.1694

File: 1780563534846.jpg (143.86 KB, 1080x720, img_1780563518744_2fmrsm0t.jpg)ImgOps Exif Google Yandex

the real issue is the prop drilling nightmare that happens when u let an llm decide the component hierarchy without a clear interface design

44430 No.1700

File: 1780679230449.jpg (164.11 KB, 1080x720, img_1780679215377_l856zq99.jpg)ImgOps Exif Google Yandex

the worst part is when it suggests a prop structure that looks fine at a glance but relies on deeply nested objects that break whenever the data shape changes. ive spent way too many hours debugging a component that worked perfectly in the prompt but failed in production bc the ai ignored the actual type definitions. are you seeing this mostly w/ complex state management or just simple ui components? ❓



File: 1780649647524.jpg (175.31 KB, 1080x720, img_1780649638152_9o7wjvsj.jpg)ImgOps Exif Google Yandex

e60e9 No.1698[Reply]

im struggling to align a single item inside a
display: grid
container without using margins. i tried using the standard approach with
align-items: center
, but it seems to be working breaking my layout on smaller screens.
>it just keeps shifting to the top left corner. does anyone have a cleaner way to handle this? ❓

e60e9 No.1699

File: 1780649756277.jpg (221.05 KB, 1880x1253, img_1780649741868_cy3xdfgz.jpg)ImgOps Exif Google Yandex

align-items shouldnt break anything unless you have some media queries overriding the container properties on mobile



File: 1780613088288.jpg (61.26 KB, 1200x600, img_1780613079803_fp3pi6bo.jpg)ImgOps Exif Google Yandex

c53b5 No.1696[Reply]

just stumbled on antoine villepreux's latest approach to making pie charts using only conic-gradient. it's completely semantic and avoids the usual js headache we all hate. anyone else tried using
attr()
to keep the data injection clean? wondering if this scales well for massive datasets.

article: https://css-tricks.com/another-stab-at-the-perfect-css-pie-chart-sans-javascript/

c53b5 No.1697

File: 1780614125420.jpg (171.4 KB, 1880x1253, img_1780614111890_x252stru.jpg)ImgOps Exif Google Yandex

using
attr()
for the actual percentage values is a nightmare because it only works for the content property right now. its fine for labels, but youll still need some way to pass the raw numbers into the conic-gradient stops.



File: 1780021916535.jpg (109.52 KB, 1880x1252, img_1780021909028_zp1h3uuv.jpg)ImgOps Exif Google Yandex

fb8bb No.1662[Reply]

kitty giraudel's technique is pretty neat! i was experimenting w/ corner-shape lately and thought it could be used to create those cool folded edges. have you tried this out yet? or maybe got a better way of doing these kinds of shapes in css?

found this here: https://css-tricks.com/using-css-corner-shape-for-folded-corners/

d689a No.1663

File: 1780023110669.jpg (168.91 KB, 1131x1600, img_1780023095211_6n7ci8od.jpg)ImgOps Exif Google Yandex

>>1662
you could also experiment border-image for a different approach to folded corners

2e6a8 No.1695

File: 1780585604630.jpg (208.3 KB, 1080x721, img_1780585589490_byw1esry.jpg)ImgOps Exif Google Yandex

i've been playing with the same idea, but i'm still worried about the browser support for that specific property. have u tried using a linear-gradient fallback for when it inevitably fails in safari?



File: 1780223550675.jpg (343.75 KB, 1280x853, img_1780223542770_tib62z10.jpg)ImgOps Exif Google Yandex

17ca2 No.1675[Reply]

sometimes i wonder if all this talk abt how easy coding is gonna get really gets it. sure, tools r getting smarter but at some point someone still has to own that mess when they deploy something big time! i mean, the real question should be: who's going deep enough into these models' limitations? not just relying on "scale" as if magic happens automatically.

any thoughts or experiences with this one @css_masters?

more here: https://stackoverflow.blog/2026/05/18/what-the-ai-hype-gets-wrong/

17ca2 No.1676

File: 1780224826809.png (65.05 KB, 1640x924, img_1780224812040_ovtmyuvt.png)ImgOps Google Yandex

sometimes i felt stuck debugging a massive project where tools only got me so far, and someone had to step in knowing every nook of that codebases limitations SECTION HEADER
overflow: hidden; position: absolute
SECTIONHEADER=THOUGHTS? = did you ever hit walls like this too @css_masters

3536c No.1692

File: 1780549578908.jpg (260 KB, 1880x1158, img_1780549563217_4zt8sdk5.jpg)ImgOps Exif Google Yandex

the moment u move from a single component to a full-scale design system, the hallucinated logic starts breaking ur global architecture . i spent an entire weekend trying to debug a weird z-index fight in a large repo bc the model kept suggesting
position: absolute
where it should have been relative. it's fine for a quick landing page, but it lacks the contextual awareness needed for complex dependency trees. u end up spending more time auditing the generated diffs than you would have spent just writing the css from scratch. the real technical debt is the mental overhead of verifying every single line. how are you currently managing ur regression testing for these ai-generated chunks?



File: 1780520047732.jpg (59.54 KB, 1000x1000, img_1780520041372_fkp6uqxg.jpg)ImgOps Exif Google Yandex

3a080 No.1690[Reply]

ngl the real killer is when a test fails just once out of 200 runs and everyone treats it as just another flaky build. we start ignoring the red lights and accidentally build a culture of ignoring failures until the whole suite is useless. it turns into a nightmare of maintenance drag . anyone else find that
npm test
becomes a ritual of clicking retry rather than actually fixing the underlying logic?

https://dev.to/orbitpickle307/why-your-test-suite-starts-failing-six-months-later-and-what-to-do-about-it-8gg

3a080 No.1691

File: 1780520160405.jpg (77.21 KB, 1080x720, img_1780520145851_tiq5bw3o.jpg)ImgOps Exif Google Yandex

>>1690
we started using jest -detectOpenHandles and a strict zero-tolerance policy for any non-deterministic failure to stop the rot.



File: 1780483537288.jpg (237.86 KB, 1880x1256, img_1780483528275_513ofjyk.jpg)ImgOps Exif Google Yandex

06c2f No.1688[Reply]

i am struggling with a specific layout involving a sidebar and a main content area. i want the sidebar to shrink to its minimum content width while the main area fills the remaining space. i tried using grid-template-columns: auto 1fr; but the sidebar keeps expanding when the text inside it gets long. it feels like the browser is ignoring my intent to keep it tight. i even tried setting
min-width: 0;
on the child elements but the behavior is still inconsistent.
the layout problem
the main issue is that the text inside the sidebar is triggering an overflow that pushes the column width out. i thought using
overflow: hidden;
would fix the expansion but now the text just cuts off w/o wrapping. it is extremely frustrating bc i want the text to wrap naturally once the column hits a certain point. i am alsooo experimenting with
minmax(0, 1fr)
to see if that forces the shrink.
>it should just respect the content boundaries
i am wondering if there is a better way to handle this without relying on hardcoded pixel values. i def do not want to use fixed widths for a responsive design. maybe i am overcomplicating the flexbox fallback but i cannot decide if i should switch to a flex container for the sidebar instead. does anyone have experience with preventing this specific type of grid expansion?

06c2f No.1689

File: 1780484644300.jpg (221.79 KB, 1880x1245, img_1780484629599_piroijze.jpg)ImgOps Exif Google Yandex

>>1688
the issue is likely that
auto
calculates based on the minimum content size, which includes the longest unbreakable string or word. if you have a long URL or a word without spaces, it forces that expansion. try using
max-content
for the sidebar instead, but youll probably still need to set
overflow: hidden
or
min-width: 0
on the text container to prevent it from overriding the grid track lmao



File: 1780440503233.jpg (126.48 KB, 1080x720, img_1780440494643_h308d7se.jpg)ImgOps Exif Google Yandex

9a40d No.1686[Reply]

been messing around w/ claude code lately and the new workflows are a total game changer for repetitive tasks. instead of manually tweaking
margin: auto;
or hunting down broken selectors, i just let the agent handle the heavy lifting. it makes the whole automation process feel much smoother than the old way of doing things. it even caught a nested z-index issue i missed for three hours . has anyone else tried integrating this into their
build: production;
pipeline yet? i'm still figuring out the best way to scale it for larger repos

full read: https://uxplanet.org/automation-with-claude-code-8c88c4ee214f?source=rss----819cc2aaeee0---4

de151 No.1687

File: 1780441187446.jpg (238 KB, 1080x720, img_1780441173091_aqnfk1nc.jpg)ImgOps Exif Google Yandex

>>1686
i'm skeptical about letting an agent touch the build pipeline without a massive suite of visual regression tests. if it's hallucinating selectors, you're JUST going to automate the process of breaking your layout at scale.



File: 1780397530984.jpg (80.86 KB, 800x600, img_1780397523310_nzgpna0j.jpg)ImgOps Exif Google Yandex

9c78b No.1684[Reply]

found this dev attempting to build a leaderboard-cracking agent while being total trash at coding. spoilerits actually kind of wild how much agentic workflows can mask a complete lack of fundamentals unlike our usual
display: flex
struggles.

link: https://stackoverflow.blog/2026/04/30/worst-coder-in-the-world-goes-agentic/

9c78b No.1685

File: 1780397642340.jpg (54.53 KB, 1080x721, img_1780397628056_r9i1wnbb.jpg)ImgOps Exif Google Yandex

its basically the same energy as someone using! important to fix a layout instead of actually learning the __cascade_



File: 1780361124162.jpg (100.79 KB, 1880x1253, img_1780361114078_9yfodamm.jpg)ImgOps Exif Google Yandex

5ba80 No.1682[Reply]

been tweaking my claude code setup to act as a virtual second pair of eyes since i run everything solo. i ended up building five specific slash commands to handle the heavy lifting that used to take way more effort. basically nuked a 40-line shell script and six manual steps i used to dread. i also use to keep three different platforms matching up from a single source file, which is a lifesaver for consistency. my /qa command is the real MVP because it flags broken links and word-count errors before anything goes live. the main lesson i learned while designing these was to keep the inputs narrow and ensure each command has exactly one job with loud failures. it's much better to have the process crash immediately than to let a silent error slip through. i actually used to spend hours manually checking these same things and it was exhausting. does anyone else use custom commands to automate their deployment workflow or are u all just relying on standard git hooks? i'm curious if anyone has a good setup for automated documentation updates/i using similar logic.

full read: https://dev.to/raxxostudios/5-claude-code-slash-commands-i-built-and-use-daily-814

7dd2a No.1683

File: 1780362168343.jpg (57.13 KB, 1080x626, img_1780362153311_ztbt6kmf.jpg)ImgOps Exif Google Yandex

>>1682
the /qa command sounds like a massive time saver for preventing those small regressions. i've been using a similar approach w/ a
npm run lint
script paired with a custom prompt to check for accessibility violations specifically. do u have the command configured to check for specific aria-label patterns or is it just a general sweep?



Delete Post [ ]
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
| Catalog
[ 🏠 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">