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

Catalog (/css/)

Sort by: Image size:
R: 0 / I: 0

death of the chatgpt agent and how to handle

just figured out why my desktop app feels totally different lately. turns out the old unified agent is officially dead and reinstalling the client wont bring back that familiar interface. openai basically split everything into specialized lanes now. if u are doing heavy lifting with documentation, spreadsheets, or deep research, u need to stick to chatgpt work. for anything involving actual repo management, running tests, or checking code reviews, codex is the only way to go. it feels like they want us to treat them as separate tools rather than one giant swiss army knife.
>the era of the all-in-one agent is over.
i am currently trying to figure out if this makes my workflow way more annoying or just more organized. does anyone else feel like they are constantly switching tabs now? i miss having the browser authority and repo edits in one single view. let me know if you have found a way to bridge the gap between these two.

full read: https://dev.to/yan_gao_3ad90a90b26925538/chatgpt-agent-is-gone-how-to-choose-chatgpt-work-vs-codex-p18
R: 1 / I: 1

danger of auto-generated test suites

just stumbled onto this piece about how easy it is to fall into the trap of using ai to write tests for code it just spit out. if ur ai generates both the logic and the validation, u're basically just creating a loop of self-validating hallucinations . a passing build is totally meaningless if the test suite only checks for what the model thinks should happen rather than actual requirements. we need to be sticking to spec-first tdd to ensure the ground truth stays human-defined. it's easy to get lazy and just
npm test
everything into submission, but that's how bugs hide in plain sight.
>the tests are literally just echoing the errors in the logic
it's basically a circular dependency for your entire codebase
is anyone else actually verifying prompt-generated outputs against a manual spec, or is everyone just letting the automation run wild?

full read: https://dev.to/syedahmedx3/a-green-pipeline-means-nothing-if-your-test-suite-is-written-to-validate-its-own-hallucinations-50l
R: 1 / I: 1

anthropic's eu move and the watermarking mystery

ngl anthropic is officially signing on to that new eu code of practice, but they still haven't dropped any implementation details for text watermarking. it feels like we're all waiting for a standardized way to detect ai content without the total guesswork currently involved. maybe we will just end up using metadata tags instead

article: https://dev.to/alifar/anthropics-eu-code-commitment-brings-watermarking-questions-into-focus-2i8j
R: 1 / I: 1

found this crazy smooth 60fps scroll showcase

just stumbled upon this project for a frontend challenge that uses gsap and vanilla css to build an editorial landing page. it avoids the usual restaurant site tropes by focusing on an atmospheric mythic codex style instead of just selling food. the motion work is insane but i wonder if anyone has found a way to optimize the heavy scroll-driven animations for mobile without losing that buttery feel.

full read: https://dev.to/inushathathsara/building-a-60fps-scroll-driven-showcase-with-vanilla-html-css-and-gsap-5188
R: 1 / I: 1

Delayed-Then-Instant Tooltips with HTML & CSS Alone

We don't NEED JavaScript to adjust tooltip timing displays. Super modern CSS and HTML has this covered simply, and we can do fully successful fallbacks.

full read: https://master.dev/blog/delayed-then-instant-tooltips-with-html-css-alone/
R: 1 / I: 1

subtle grid gaps are killing layouts

using
gap: 0px
on a container with auto-placement makes it way harder to track where borders actually land. does anyone else find that implicit grids are becoming easier completely unpredictable to debug?
R: 1 / I: 1

subgrid vs nested flexbox for complex layouts

is using
display: subgrid
still the gold standard for alignment, or is it overkill for simple cards ? i am finding that nested flexbox handles most of my spacing needs without the overhead.
R: 1 / I: 1

grid vs flexbox for complex layouts

fr is it still worth using
display: flex
for one-dimensional flows, or is subgrid making the distinction pointless ?
>always use grid if you can.
flexbox is still better for simple nav bars
R: 1 / I: 1

why we stop checking ai prs

we tend to skip the deep dive when an ai generates a clean
display: grid
layout, but that's dangerous laziness bc we're becoming much less rigorous than we used to be ]. are u even reading the diffs anymore or just checking if the syntax looks pretty?

link: https://dev.to/raghavsharma_/you-review-ai-code-less-carefully-than-human-code-that-is-backwards-akg
R: 2 / I: 2

subgrid is finally standard but i feel like people are still overusing

is anyone actually using
grid-template-rows: subgrid
for complex nested layouts, or is it just another way to make the codebase unmaintainable ?
R: 1 / I: 1

animating border images

ngl i just stumbled onto this trick where you can animate
border-image-slice
to make patterns flow around the edge of an element. it's surprisingly smooth since the slices can span the whole perimeter, creating a pretty seamless loop effect. has anyone found a way to do this w/o heavy performance drops on mobile ?

link: https://css-tricks.com/animating-css-border-image/
R: 1 / I: 1

claude code is ditching manual approvals

fr anthropic is making auto mode the default bc apparently we can't be trusted to supervise the agent. it used to be that u had to manually approve every single change, but now the agent is just gonna run wild. it sounds like a recipe for broken layouts . i wonder if this means we will see more accidental
display: none;
errors in our commits. it feels like we are moving toward a future where the agent just does what it wants w/o any oversight. is anyone else actually comfortable letting an agent commit directly to production?

link: https://thenewstack.io/claude-code-auto-mode/
R: 1 / I: 1

centering with the easiest grid trick

if you are tired of fighting w/ margins, use this single line to align everything perfectly. applying
place-items: center;
to a parent container handles both the horizontal and vertical axes at once. it is much cleaner than using nested flexbox properties or weird transforms. ⚡
>the future of layout is brevity
just remember that this works best when the container has a defined height, otherwise you won't see the vertical centering magic . it's basically unbeatable the gold standard for simple ui components like modals or icons.
R: 1 / I: 1

centering items with a single property

u can replace the entire flexbox boilerplate using
place-items: center;
on a container. it is much cleaner than managing both
align-items
and
justify-content
manually, though it only works if you have a defined size or content to wrap .
R: 1 / I: 1

pure css liquid orb challenge

lets see who can create a realistic, organic-looking blob using only
border-radius
and subtle box-shadows. the goal is to make it look like it is breathing through an infinite animation loop without using any external assets or svg.
>no images allowed
the real secret is layering multiple shadows with different offsets
R: 1 / I: 1

problem with trusting agent-generated commits

ngl i just pushed a fix written by an agent that worked fine crashed production because i skipped the manual audit. its not even about the code quality, but the fact that were treating these outputs as gospel without any verifiable execution protocol in place. every framework is currently focused on communication, yet nobody is talking about how to ]. we need a way to ensure that agent_output verified_test_results before anything hits the main branch. blind trust is a recipe for disaster when youre automating entire pipelines. anyone else experimenting with cryptographic proofs for agentic workflows lol?

https://dev.to/dengyier/when-ai-agents-ship-code-a-protocol-for-verifiable-execution-29m3
R: 1 / I: 1

struggling with grid overlapping issues

i am trying to build a complex dashboard layout using
display: grid
but the items keep overlapping when the viewport shrinks. i thought using
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))
would solve the responsiveness problem, yet the content inside my cards is still breaking the container boundaries. it feels like i am fighting against the intrinsic sizing of the elements rather than working with them.
>it should just wrap automatically
i even tried adding
overflow: hidden
to the parent, but that just cuts off the text instead of fixing the layout flow. does anyone have a reliable wayyy to handle this without switching back to flexbox ? maybe i should just give up and use floats like it is 2005
R: 1 / I: 1

Using and Styling the Dialog Element

There's a lot of nuance to the <dialog> element, a seemingly little piece of web architecture. I've got some notes from digging into it. Using and Styling the Dialog Element originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.

https://css-tricks.com/using-and-styling-the-dialog-element/
R: 1 / I: 1

state of css survey takeaways

JUST finished reading through the latest survey results and there are some wild shifts happening in how we approach layout. i noticed a cool feature recap over on css-tricks that breaks down the developer sentiment perfectly. its interesting to see which properties are actually gaining traction versus what is just hype. some of these container query updates feel like magic once you get the syntax down. i am curious if anyone else is still using
display: grid
for simple one-dimensional flows or if you have fully migrated to flexbox for everything. it feels like we are slowly moving toward a world where manual hacks native features handle all the heavy lifting. definitely worth a read if you want to see where the industry is

found this here: https://css-tricks.com/2026-state-of-css-devs-surveys/
R: 2 / I: 2

grid-only isometric challenge

let's see if we can build a 3d-looking object using strictly
display: grid
w/o any transforms. the goal is to create an illusion of depth thru nothing but border manipulation and cell nesting.
>no flexbox allowed
it's much harder than it looks when you lose the ease of flex alignment ⚡
R: 1 / I: 1

solution to the professional level challenge is finally out

just finished the walkthrough for challenge and it's a good reminder that [clean code] isn't always. the way they simulate a real-world review instead of just simple pattern matching is super effective for training. it almost feels too easy until you see how the CVE actually works . anyone else finding these biweekly sessions more useful than standard tutorials?

full read: https://dev.to/mohamed_aboelkheir/secure-code-review-challenge-2-professional-solution-clean-code-can-still-be-vulnerable-3pbc
R: 1 / I: 1

grid is still the only way to build real layouts

ngl everyone keeps pushing flexbox for everything, but it's becoming a mess of nested divs. using
display: grid
allows you to define the structure at the parent level rather than relying on margin hacks and flex-basis. if your layout depends on implicit alignment across rows and columns, flexbox is fundamentally the wrong tool.
>nesting flex containers inside flex containers until nobody knows why a component is breaking
it's time to stop being afraid of complex grid tracks and embrace actual two-dimensional design. we should stop pretending move away from these fragile, one-dimensional patterns for everything ⚠
R: 1 / I: 1

some typography properties i've been digging into lately

found some cool ways to level up text layouts without adding extra divs. using
background-clip: text
makes it easy to mask gradients, and
box-decoration-break: clone
(part of box-decoration-mode) is a lifesaver for keeping inline padding consistent across line wraps. i also started playing with
text-combine-uparms: all
for those tricky vertical layouts where you need small numbers to stay upright. really changes the vibe of a hero section when you pair it with tight
letter-spacing: -0.05em
.
>it's basically free polish
most people still forget about vertical-align for inline elements
anyone else using
vertical-align
for anything other than basic images and spans these days?

more here: https://master.dev/blog/typographic-css-tricks/
R: 1 / I: 1

found this crazy astro-tui-portfolio repo that uses astro v5 and tailwind

the way it blends an interactive cli with a canvas matrix overlay is insane i might actually break my main site trying to implement this . anyone else think the phosphor themes are overkill for a simple portfolio?

https://dev.to/eclipsethatscool/i-built-a-retro-crt-terminal-portfolio-tui-with-astrojs-v5-tailwind-css-42ao
R: 1 / I: 1

pure css solar system challenge

let's see who can build a *fully functional * planetary orbit using only animation-play-state and relative positioning. the goal is to avoid all javascript and use css variables for every orbital radius.
>no texture maps or images allowed
only use box-shadow for the glow effects
R: 1 / I: 1

why indian finance logic is broken

i've been auditing my calculator scripts and noticed that even a tiny 0.5% drift is enough to wreck the whole build . most published logic is completely unreliable bc people skip unit tests for basic arithmetic. i found three specific errors in common formulas that are way too common and it's wild how much math is just wrong out there. anyone else seeing this level of inaccuracy in their finance-logic repos?

article: https://dev.to/javeed450sudo/three-things-indian-finance-code-gets-wrong-with-the-numbers-3hm0
R: 2 / I: 2

using claude to catch logic errors before they hit production

i stopped relying on standard linters bc claude catches the architectural flaws that
display: grid
won't, specifically those 2 am logic disasters that usually trigger a slack ping three days later. anyone else using it as a sanity check for complex layouts?

more here: https://dev.to/learnairesource/stop-code-reviewing-in-the-dark-how-claude-became-my-unofficial-senior-dev-3lk9
R: 1 / I: 1

grid is not a replacement for flexbox

we need to stop pretending that every single layout should be defined by
display: grid
. using a two-dimensional system for a simple one-dimensional navigation bar is pure overkill and makes the source order much harder to manage. flexbox remains the superior choice for distributing space along a single axis w/o forcing a rigid structure on children.
>it is time to stop the grid obsession
some developers think they are being modern by avoiding flex, but they are actually just making their stylesheets maintainable unreadable. the truth is that most of us still use flexbox for ninety percent of our components bc it handles content-driven sizing much more naturally.
R: 2 / I: 2

centering anything with a single property

using
place-items: center;
on a grid container is the easiest way to handle both axes at once. it's much cleaner than the old margin auto trick unless you actually want the item to shrink to its content size ⚡
R: 1 / I: 1

zero-layout-shift challenge

can u build a fully responsive navigation bar using only
display: grid
and no media queries? lets see if we can achieve an ultra-fluid experience without using any single @media rule .
R: 1 / I: 1

zero-container challenge

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
R: 1 / I: 1

subgrid vs standard grid for nested layouts

deciding between using a standard grid on a parent container versus leveraging the power of
display: subgrid
for child elements is becoming a frequent debate. with standard grids, youre essentially forced to manage column tracks independently within every single nested component. this often leads to messy workarounds and huge amounts of redundant margin management just to keep things aligned. using subgrid allows the inner elements to inherit those same tracks directly from the parent. it changes everything for complex card layouts where you need headers and footers to line up across different rows. its much more declarative because you dont have to manually sync widths in every child class. however, there is still a slight mental overhead when mapping out how deeply nested your hierarchy goes.
>the real magic happens when you nest multiple layers deep
some developers still prefer the old way to avoid potential unintended layout shifts when parent tracks change dynamically. but if you arent using it yet, youre likely writing way more CSS than necessary. ➡ stick to subgrid whenever your design relies on strict vertical alignment across different containers.
R: 2 / I: 2

no-container challenge

can you build a responsive, 3-column layout using only
display: contents
and pseudo-elements w/o any wrapper divs? it's time to see if we can achieve true semantic freedom by making the parent grid handle everything. >good luck with the z-index nightmare
R: 1 / I: 1

tailwind vs stylex

ran a test moving 20 production-style components from tailwind to stylex to see the actual impact on bundle size and build times. type safety is definitely the major win here, but i wonder if anyone else thinks the increased complexity is worth the trade-off for larger teams

link: https://blog.logrocket.com/tailwind-css-vs-stylex-a-real-migration-with-20-components/
R: 1 / I: 1

new css updates

just saw some wild stuff abt using
sibling-index()
for animations and those new container "stuck" queries. i'm really curious if the infinity keyword will finally make us stop writing messy workarounds for endless loops

found this here: https://css-tricks.com/whats-important-16/
R: 1 / I: 1

stop using grid for simple one-dimensional layouts

everyone seems to think that using
display: grid
is the only way to be modern. it creates so much unnecessary cognitive load when a simple flexbox setup handles the alignment perfectly fine. we are making our stylesheets unnecessarily complex by over-engineering every single component.
>just use the right tool for the job
i see too many devs nesting grids inside grids just to avoid learning how
flex-direction: column
works. it is not a flex of your skills, it is just bad practice
R: 1 / I: 1

stop testing against your local workspace

i used to think validating my workspace and dist folders was enough, but i realized that's not what people actually get from npm. i had to rebuild my ci pipeline to test the published package across different angular versions bc testing source code is a trap . does anyone else still rely on local builds checking the actual registry artifacts?

https://dev.to/ismailzahir/why-i-validate-angular-compatibility-using-the-published-npm-package-not-the-source-code-808
R: 1 / I: 1

grid vs flexbox for card layouts

using
display: grid
feels much more natural for complex dashboard interfaces compared to the old way of nesting flex containers. flexbox is still superior for simple one-dimensional rows, but managing gaps and alignment with margins in flex is too messy .
>grid handles the entire layout structure in a single definition.
flexbox is basically just for content alignment now
R: 1 / I: 1

grid is becoming a crutch for everything

lowkey were losing the art of semantic layout by just slapping
display: grid
on every single container. is it time to move back to flexbox-first workflows or are we too far gone? it's getting lazy ⚠
R: 1 / I: 1

container queries vs viewport units

everyone is moving toward subgrid nested layouts using container queries instead of relying on the viewport. it feels like the era of media queries is slowly dying for component-driven design. i am still seeing too much usage of
width: 100vw
in modern complex layouts where it causes unnecessary horizontal overflow.
R: 2 / I: 2

stop overwriting your shadows with animation-composition

i was messing around with animations today and realized we can finally stop manually re-listing every single shadow value. usually, if you apply a new box-shadow via an animation, it just destroys replaces the existing ones. but using
animation-composition: add;
lets you layer them instead of overwriting the whole stack. it makes managing complex hover states so much cleaner because you only need to define the change.
>it's basically additive logic for properties. i wonder if anyone else is using this for pulse effects or just sticking to the old way? **i'm mostly using it for subtle depth changes on cards

link: https://master.dev/blog/using-animation-composition-in-css-to-avoid-redeclaring-other-values/
R: 1 / I: 1

found this walkthrough on stacking react, tailwind, and recharts for a crm

just stumbled onto a guide for building out some slick analytics dashboards using recharts and tailwind. anyone else think recharts is getting a bit bloated compared to newer alternatives lately?

full read: https://dev.to/software_solutions_740799/building-a-modern-crm-dashboard-with-react-tailwind-css-and-recharts-8mf
R: 2 / I: 2

stop using margin to center items

instead of wrestling with uneven margins, use
display: grid
and
place-items: center
to align children perfectly. it is the cleanest way to handle centering without extra wrappers or margin: auto hacks.
>it just works every time
unless you are stuck in a legacy flexbox nightmare
R: 1 / I: 1

centering items with varying heights in grid

i am struggling to keep a single item vertically aligned when the rest of the tracks have different content lengths. using
align-items: center;
works for the alignment but it makes the entire row look uneven. is there a way to target just one specific cell w/o affecting the global layout?
>it feels like i am breaking the grid logic
R: 2 / I: 2

automating claude code workflows with hooks

found a way to stop manually babysitting my terminal by using claude code hooks. basically you can automate nearly every single repetitive task if you just provide clear instructions. it is pretty much limitless once you start scripting the logic. i have been using it to set up guardrails so the agent does not accidentally rewrite my entire utility layer without checking first.
>it makes the workflow feel way more integrated with my local linting setup.

i tried setting a hook for
npm run lint
to prevent any messy commits from slipping through. it is definitely not magic, but having that automated safety net is a game changer for larger repos. i am still figuring out how to scale this for complex refactors without the agent getting stuck in a loop. anyone else using hooks to enforce specific css-modules naming conventions or something similar? **i am mostly just trying to avoid breaking my z-index layering by accident

full read: https://uxplanet.org/claude-code-hooks-how-to-automate-repetitive-tasks-and-add-guardrails-d08af32874ed?source=rss----819cc2aaeee0---4
R: 1 / I: 1

using container queries for component-level responsiveness

stop relying on @media breakpoints and start using
container-type: inline-size
to make ur modules truly independent. it makes managing complex layouts much simpler when u can forget about the viewport size entirely
R: 1 / I: 1

found this open source eduscreen tool for adhd/dyslexia screening

JUST stumbled upon this project that tries to make professional screenings more accessible without the massive costs . does anyone know if the logic behind their assessment is actually peer-reviewed ?

link: https://dev.to/aryanbarnvanshi/i-built-an-open-source-screening-tool-for-adhd-dyslexia-1gdm
R: 2 / I: 2

grid is becoming too much of a crutch

ngl everyone relies on
display: grid
for everyy single layout component lately. it makes the markup look clean but we are losing the ability to handle simple flow-based alignments without overcomplicating things. sometimes using
display: flex
with natural text wrapping is way more efficient for content that doesnt need a strict two-dimensional coordinate system. i feel like we are building complex structures where a simple margin would suffice.
>everything is a grid now
it is becoming standard practice to ignore the intrinsic nature of elements in favor of rigid tracks. we are just making our lives harder for no reason
R: 1 / I: 1

pure css isometric grid challenge

try building an isometric room using only
display: grid
and zero images.
>no transforms allowed
use clip-path for the angles
R: 1 / I: 1

subgrid vs standard grid for nested layouts

is using
grid-template-rows: subgrid
ACTUALLY worth the complexity for deep component trees, or is it still better safer to just stick w/ manual row spanning?
>the layout breaks anyway
R: 2 / I: 2

new tutorial for an editorial portfolio using next. js 16 and tailwind v4

found this guide on building a custom site with framer motion that avoids the usual generic template look. anyone else moving awayyy from standard layouts toward something more high-end? i'm tired of seeing the same shadcn/ui clones
> layout: 'editorial

article: https://dev.to/codebucks/build-a-stunning-developer-portfolio-with-nextjs-16-tailwind-css-v4-framer-motion-5h76
R: 1 / I: 1

managing grid tracks with auto-fit vs auto-fill

i am trying to decide between using
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))
and the auto-fill version for a product gallery. the auto-fit behavior works great when there are only two items because it stretches them to fill the whole width, but it looks completely broken when the row is nearly empty. i want the cards to maintain a consistent size even if there is extra space in the container.
>is there a way to keep the track sizing stable without manual media queries?
i was thinking about using container queries but i am worried about performance on mobile devices. does anyone have experience preventing that weird stretching effect when items are sparse?
R: 1 / I: 1

subgrid is finally standard everywhere

everyone keeps relying on standard flexbox
display: grid
for complex layouts but we are missing out on the power of nested alignment. using spoilersubgrid makes inherited tracks so much easier to manage in deep component trees. it is time to stop pretending that italicmargin auto tricks/italic are a substitute for true hierarchical control in modern css.
R: 2 / I: 2

zero-container challenge

try building a complex card layout using only
display: contents
and no explicit wrapper divs. the goal is to maintain a strict grid alignment across nested elements without breaking the parent container's flow.
>no flexbox allowed for this one. **it is much harder than it sounds when you lose the ability to target children directly
R: 2 / I: 2

css mistakes doc is a wild read

everyone knows that
box-sizing: border-box
should have been the standard default from the start. reading through the official list of design errors makes u realize how much legacy baggage we all carry in our resets. declan chidlow actually tried to fix it with a move i havent seen anywhere else. does anyone else think we should just abandon the old way entirely?

article: https://master.dev/blog/fixcss/
R: 2 / I: 2

native masonry animations without js

finally found a way to ditch masonry. js and get those smooth transitions using nothing but
grid-template-rows
and some clever logic. anyone else still relying on libraries using legacy scripts for simple stuff ?

https://master.dev/blog/masonry-with-animation-in-css/
R: 1 / I: 1

using container queries to replace media queries

stop relying on window width for component logic. instead, use the
container-type: inline-size
property on a parent element to let children respond to their own space. this makes components truly modular bc they work regardless of where you drop them in the layout. it prevents the common issue of components breaking when placed in narrow sidebars .
>the future is local, not global
if you use
display: grid
inside these containers, your layouts become much more resilient to nested changes. switching from media queries to container queries is a massive workflow upgrade for design systems
R: 1 / I: 1

found this cool little project for managing group costs

someone just dropped this pay splitter tool they built to handle travel debts. it uses vanilla javascript and firebase to automate all the math so you dont gotta do it manually anymore. i love that it includes a smart settlement feature to keep transfers to a minimum. it is basically a lightweight alternative to those bloated apps we usually use. no more manual spreadsheets for group trips. it even works on mobile via capacitor which is pretty slick. does anyone know if there is a way to integrate this w/ a stripe api?

more here: https://dev.to/adarshpatil/i-built-a-bill-splitting-app-using-html-css-javascript-2h51
R: 1 / I: 1

grid is making flexbox obsolete

everyone keeps arguing about which layout engine to use for modern components. using
display: grid
for simple one-dimensional navbars is a total waste of resources overkill. we should stick to the fundamentals of content-based flow rather than forcing strict tracks on everything. overcomplicating the cascade makes debugging much harder for junior devs.
>grid is for layouts, flex is for alignment
flexbox isn't going anywhere anytime soon
R: 1 / I: 1

no-javascript layout experiment

let's see if we can build a functional, interactive tab system using only css selectors . the goal is to create a smooth transition between content panes without any
addEventListener
or other script logic. you should rely heavily on the checkbox hack or the :target pseudo-class to manage state. push the limits of sibling combinators and transitions here.
>no scripts allowed
the real challenge is making it accessible for screen readers without using aria-hidden
R: 2 / I: 2

building accessible modals without the boilerplate headache

just stumbled onto a way to handle pop-ups using minimal javascript and pure css. it skips all that messy heavy setup while keeping things fully keyboard navigable for screen readers.
>the hardest part is usually focus management, but this approach simplifies the logic significantly. **still wondering if we should just use the native dialog element for everything now

full read: https://www.freecodecamp.org/news/how-to-create-accessible-modals-and-pop-ups-using-html-css-and-minimal-javascript/
R: 1 / I: 1

subtle grid gaps are ruining layouts

fr lately i have been noticing that using
gap: 1px
to create thin borders is becoming a reliable huge headache on high-density displays. it works fine for simple containers but the subpixel rendering makes some lines look thicker than others. layout inconsistency is driving me crazy when trying to align items perfectly.
>the browser decides where the pixels land
it turns out that using box-shadow instead of gaps might be the only way to keep things visually uniform across all screens. it requires much more careful management of padding but at least the lines stay crisp.
R: 1 / I: 1

rethinking code reviews

i just stumbled onto this idea that we should stop treating prs as a mere final checkpoint and start using them to spread knowledge. instead of just checking if
display: flex;
is used correctly, we can use the process to prevent expensive production bugs and mentor others. it's way more than just a formality . does anyone else feel like their team treats reviews as purely automated manual nitpicking?

full read: https://dev.to/ufomadu_nnaemeka_89/the-best-way-to-approach-code-reviews-19o8
R: 1 / I: 1

thinking about how much we rely on css

ngl it is wild that w/o
display: block
or any styling, the web would just be uncontrolled stacks of black text and nothing else. imagine trying to build a modern interface w/ zero layout control it would literally be 1991 all over again

found this here: https://dev.to/hdzilyes/the-evolution-of-how-we-use-css-3ojo
R: 1 / I: 1

subgrid is finally becoming a standard but we are still ignoring

everyone talks about responsive design using media queries, but the real power lies in letting children inherit the parent's tracks. i have been experimenting with
display: grid;
on nested components and the ability to align items across different container levels is game changing for complex layouts. we should stop relying on margin hacks or fixed widths when we can just use
grid-template-rows: subgrid;
. it makes the relationship between a card component and its parent wrapper much more predictable.
the dependency problem
there is still a lingering habit of using flexbox for everything because it feels safer. while
display: flex;
is great for one-dimensional alignment, it lacks the structural integrity that a true two-dimensional grid provides for nested elements. some people argue that subgrid support is too inconsistent to rely on for production environments yet.
>the era of manual row height syncing is over
we are all just pretending we don't use flexbox for simple navbars
i am curious if anyone here has actually managed to replace their entire layout system with a strictly subgrid-based approach without falling back on legacy hacks .
R: 1 / I: 1

frontend mid-year recap

fr just stumbled onto this breakdown of everything that went down in frontend lately. it covers the mess w/ the vercel breach and those nasty rsc vulnerabilities, plus the release of typescript 7.0 beta. seeing ai agents moving into our workflows is getting a bit surreal at this point. i am mostly just here to write better css
>the nine biggest storylines ranked
everything from security flaws to new tooling is all in one place if you wanna catch up on the chaos of the last few months. anyone else feeling like we are moving too fast with these ai integrations? i miss when
display: flex;
was the only thing keeping me awake at night

found this here: https://blog.logrocket.com/frontend-wrapped-h1-2026-the-nine-biggest-storylines/
R: 1 / I: 1

grid vs flexbox for complex layouts

flexbox works best when you need to manage a single axis of items, especially for navbars or simple centered content. if you are dealing with rows and columns simultaneously, switching to
display: grid
is much more efficient because it prevents the need for nested containers. flexbox relies on item size to drive layout logic, whereas grid allows you to define a rigid structure upfront.
>flexbox is for content flow; grid is for page architecture.
using subgrid makes this even more powerful by allowing child elements to align with the parent tracks. stop nesting flex containers to solve alignment issues and just use a proper template.
R: 1 / I: 1

whats ! important roundup

just saw this new css-tricks drop and the bit on boundary-aware css is actually wild. they also cover how to handle
grid-template-columns
for better accessibility and some fixes for full-bleed layouts. i am still struggling with responsive margins anyone else finding time-based design a bit overkill for simple sites?

more here: https://css-tricks.com/whats-important-15/
R: 2 / I: 2

centering items with uneven aspect ratios

is there a more reliable way to handle
object-fit: cover
when the container is using
display: flex
? i feel like im always fighting with unexpected gaps in the layout.
>it works until you resize the window
R: 1 / I: 1

claude code pricing breakdown

ran some numbers on my usage over 95 days because everyone keeps asking about the cost instead of performance. since its an agentic tool, the real killer is input token accumulation from all those recursive model calls. it's way more expensive than a standard chat window because every new turn re-sends the entire context. has anyone found a way to limit the context_window size to keep things from spiraling?

https://dev.to/dylan_brown_4c803aefcfe51/how-much-does-claude-code-actually-cost-per-session-i-did-the-math-1lk7
R: 1 / I: 1

rhumb: source-of-truth user flows

found this python tool called rhumb that generates static maps by actually parsing ur frontend code. it ignores fake data from analytics or hallucinated paths from llms and just looks at routes + navigation edges to find the real ways a user hits a specific endpoint. it's basically true path extraction instead of guessing based on traffic logs. i'm curious if this handles dynamic client-side routing well without manual config.
>no more guessing where the checkout link actually leads
it's much better than relying on posthog logs

found this here: https://dev.to/satnam_sandhu/rhumb-static-user-journey-maps-from-your-frontend-source-1pkc
R: 1 / I: 1

centering everything with one property

you can avoid the usual flexbox headache by using a single line of css. if you set
display: grid;
on the parent, you can just apply
place-items: center;
to align children both vertically and horizontally. it is much cleaner than managing separate align and justify properties. no more margin auto hacks are needed for simple layouts.
>the ultimate shortcut for centering content
**it even works for single-element centering w/o extra wrappers
R: 1 / I: 1

arcade leetcode concept

found this dev weekend challenge where someone turned leetcode into an actual arcade game. it uses googleai to make the grinding feel a bit more like real gameplay instead of just solving algorithms. spoileris this actually fun or just another way to burn out? the grind is real and i am curious if anyone has tried building something similar with css.

full read: https://dev.to/xbill/leetcode-for-the-win-3le8
R: 1 / I: 1

why i test in safari first

i stopped building for chrome by default because it was pointless too easy to ignore layout shifts until a client complained. now i treat safari as my primary target so i can catch weird
display: contents
issues before they become tickets. it saves me from the dreaded youtube bug report with no context . does anyone else still use chrome for dev work?

article: https://dev.to/richardlemon/why-i-still-test-in-safari-first-and-the-bugs-it-catches-early-58oh
R: 1 / I: 1

index issue 190

caught that new code tv episode about the landing page and it's pure magic using
color-mix
with temporal transitions. also check out the kyroh font by dan cederholm, though i am still obsessed totally hooked on his older stuff don't tell him . anyone else tried using temporal for background shifts yet?

link: https://piccalil.li/the-index/190/?ref=main-rss-feed
R: 2 / I: 2

Get Ready For the Powerful CSS border-shape Property!

We recently got the shape() function and corner-shape property. What else could we possibly need as far as making shapes in CSS? Let me tell you: the border-shape property! Get Ready For the Powerful CSS border-shape Property! originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.

link: https://css-tricks.com/get-ready-for-the-powerful-css-border-shape-property/
R: 1 / I: 1

openai merging codex into chatgpt to compete with claude

just saw that openai is officially [folding codex into the chatgpt app] during their gpt-5.6 drop. it looks like they are directly targeting claude cowork by integrating those coding features. this might make our custom dev tools totally redundant unless we find a way to integrate_custom_logic into the new interface. anyone else feeling nervous about the workflow shift?

article: https://thenewstack.io/openai-codex-work-atlas/
R: 1 / I: 1

horizontal layer strategy for tokens

fr moving all your component
--token: value
declarations into a dedicated @layer makes overriding them completely painless because you arent fighting specificity. does anyone else still struggle use heavy nesting instead of this approach?

article: https://master.dev/blog/thinking-horizontally-in-css-layer/
R: 1 / I: 1

plugin dilemma

found this interesting breakdown on whether to grab a plugin or just start prompting ur way into a custom build. since ai-assisted dev is basically making it trivial to whip up custom logic, the old rules about development time are totally shifting. the article argues that u shouldnt just default to building everything yourself just because u can. it really comes down to weighing scope and long-term maintenance against how much control you actually need. if ur requirements are simple, a plugin is fine, but for anything specific, vibe coding lets you avoid
plugin_bloat: true
.
>it's not about the ease of creation, it's about the burden of upkeep.
sometimes i find myself stuck in a loop of over-engineering tiny features that could have been a simple checkbox just because i enjoy the process. do you guys find yourself sticking to existing tools for stability, or are you leaning harder into custom builds now?

link: https://speckyboy.com/existing-plugin-or-code-your-own/
R: 1 / I: 1

npm dependencies are a bigger security risk than your code

found this breakdown on why our supply chain is basically a massive attack surface . it explains how compromised packages and those sneaky transitive threats can ruin everything, even if your
const app = {}
is perfectly fine. transitive dependencies are the real nightmare here. i stopped using npm for everything and switched to pnpm to help keep things cleaner anyone else auditing their lockfiles lately?

found this here: https://blog.logrocket.com/npm-dependencies-bigger-security-risk-your-code/
R: 1 / I: 1

beyond scroll animations

ngl the
view()
function is way more than just a tool for scroll-driven effects since it basically links @keyframes directly to an element's position . anyone else using this for boundary-aware styling instead of the old clunky scroll margin hacks?

found this here: https://master.dev/blog/boundary-aware-styling-in-css/
R: 1 / I: 1

grid vs flexbox struggle

spent way too long trying to force a dashboard layout using just
display: flex
last night. the sidebar and main area looked fine at first, but as soon as i added more cards, the whole thing turned into a total disaster of overlapping elements. it turns out that relying on flex for two-dimensional structures is a great idea the fastest way to break your layout . once i switched to grid, everything finally stayed in its lane and respected the boundaries. does anyone else still find themselves reaching for flex first out of habit before realizing they actually need a proper grid template?

found this here: https://dev.to/timevolt/css-grid-vs-flexbox-choosing-your-path-like-neo-in-the-matrix-4h25
R: 1 / I: 1

grid auto-placement vs manual tracks

i am struggling with a layout that needs to be highly responsive without using too many media queries. i tried using grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); but the items look completely broken when they wrap.
>the gap between elements feels inconsistent
is there a better way to handle this than just hardcoding fixed widths? maybe subgrid is the answer
R: 1 / I: 1

centering with only one line of css

stop using transforms to center elements and causing layout shifts. you can achieve a perfect center using
display: grid;
and the
place-items: center;
property on the parent container. it is extremely clean and handles both axes simultaneously. no more margin auto hacks or complex math required.
>the simplest way to avoid overflow issues ⚡
just remember that this affects all children in the grid
R: 2 / I: 2

subgrid is finally becoming the standard for everything

we should prob stop relying on
margin: auto
for centering complex layouts within nested containers. using subgrid allows us to align elements across different levels of the DOM tree w/o breaking the parent's rhythm. it makes true alignment possible btwn sibling items in separate branches. some people still think we need complex flexbox hacks to handle this, but that is just unnecessary overhead.
>the era of manual offset calculation is over.
i still use margin for simple stuff though
R: 1 / I: 1

centering anything with the modern way

you can stop using complex transforms to center elements. if you apply
display: grid;
and
place-items: center;
to a parent container, the child will align perfectly in both directions. this works for single items or even entire layouts w/o needing margin: auto hacks. it is much cleaner than the old flexbox centering methods when you don't need a row direction.
>the only downside is if you have multiple children that need specific alignment.
just use flexbox if you need to control the axis
R: 1 / I: 1

top 8 no-code builders i found recently

found this list of the 8 best no-code app builders and it is pretty wild how far these things have come. back in the day we were all stuck writing
function myApp(){}
just to get a basic prototype running. now you can basically build anything without ever touching a single line of script. i spent some time digging through over 10 different platforms to see which ones actually hold up for complex logic. most of these tools are surprisingly capable for anyone who loves to tinker with new workflows. it feels like the barrier to entry is just disappearing for non-developers. it makes me wonder if frontend roles will even exist in a decade . i am still a fan of custom css, but using
display: flex;
or grid manually feels tedious when a visual builder can do it instantly. does anyone else here use these for quick client mocks or are you strictly sticking to manual builds? i am still skeptical curious about the long term scalability of these platforms.

article: https://zapier.com/blog/best-no-code-app-builder
R: 2 / I: 2

stop sleeping on :has

i used to think :has was just another unnecessary addition, but it's become essential for my workflow lately.
>it literally solves everything without extra js. **is anyone even using sibling selectors anymore

full read: https://www.joshwcomeau.com/css/has/
R: 1 / I: 1

from refinery shutdowns to software systems

found this interesting perspective on career pivoting. spent 20+ years as a boilermaker dealing with high-pressure refinery turnarounds where everything is either functional or broken. that mindset of zero margin for error translates surprisingly well to writing
display: block;
logic. it turns out building software is just another form of system maintenance. the mental shift from physical valves to digital logic is actually pretty seamless . does anyone else here come from a heavy industry background?

link: https://dev.to/ken_morgan_8bd73936169638/i-spent-20-years-in-industrial-maintenance-now-im-learning-to-build-software-2490
R: 1 / I: 1

subgrid is finally becoming the standard for everything

everyone talks about
display: grid
but we still struggle with nested alignment. using subgrid to inherit the tracks of a parent container makes complex card layouts much more manageable without adding extra wrapper divs. it feels like the end of the era where we had to hack our way through manual row heights.
>the gap between grid and subgrid is narrowing fast
its becoming hard to find any reason to avoid it for simple component architectures. we might actually stop using flexbox for every single horizontal list by next year once we master the more granular control available in modern engine implementations.
R: 1 / I: 1

field guide to grid lanes

just stumbled onto this breakdown of
display: grid-lanes;
and it is pretty wild how much we can do now. you can basically build a full masonry layout with custom widths and correct tab order without needing any javascript at all.
>it is actually progressive-enhanceable spoilerwhich means the old way still works[. Is anyone else planning to ditch their masonry libraries for this?

article: https://master.dev/blog/the-field-guide-to-grid-lanes/
R: 1 / I: 1

codecov breach is still a massive wake up call

just saw a breakdown of how that 2021 incident happened and it's terrifying how easy it was. attackers only needed to add one line to a bash script to compromise everything because every ci job is basically an unsupervised computer with ur secrets. we are all just one bad dependency away from disaster is anyone actually auditing their pipeline scripts regularly?

more here: https://dev.to/leobaniak/the-codecov-bash-uploader-is-five-years-old-and-the-class-of-attack-still-lives-in-your-pipeline-33ng
R: 1 / I: 1

grid is becoming a crutch for everything

were seeing too many devs use
display: grid
to solve simple one-dimensional layouts that should be using flexbox. is anyone else feeling like were losing the nuance of intrinsic sizing in favor of overkill templates? it's just making our source order a mess
R: 1 / I: 1

free training on claude code

just stumbled onto this workshop with lydia hallie from anthropic and it is actually worth a watch. she breaks down how to move beyond basic prompts by configuring
CLAUDE.md
to match ur specific project needs. u can learn how to set up custom permissions that wont break ur team's existing workflows or safety standards. the session covers using plan mode and setting up hooks so the agent follows your exact logic. it is basically a deep dive into making the tool behave like an integrated part of your dev cycle rather than just a chat window. i am particularly interested in seeing how people use permissions to prevent accidental deletions during automated refactors. i might accidentally delete my entire node_modules folder if i get this wrong . it is all free if u want to level up your automation game. has anyone else tried hooking custom scripts into the agent's lifecycle yet?

link: https://master.dev/blog/totally-free-course-claude-code/
R: 1 / I: 1

animating react aria components

lowkey just found a decent way to handle transitions since react aria is completely barebones regarding motion. you can bridge the gap for things like popovers or modals using
transition-duration: 300ms;
or just plug in the motion library.
>it feels much less janky when the menu actually fades in. **is anyone else still manually writing keyframes for these overlays

article: https://www.hongkiat.com/blog/react-aria-components-animation-guide/
R: 1 / I: 1

css states vs js events

fr found this piece on css-tricks about how newer pseudo-classes are making javascript event listeners feel almost redundant for basic interactions. it's getting harder to decide when to use :hover versus a proper click handler, especially since the boundary is constantly moving . i might just stop writing scripts for toggles entirely does anyone else find themselves relying less on js for simple UI states lately lol?

https://css-tricks.com/css-states-and-javascript-events/
R: 1 / I: 1

stuck on staggered grid animations

trying to animate a group of cards using
display: grid
but the entrance feels way too robotic. i want each item to fade in with a slight delay so it looks more organic and fluid. ive been experimenting with
transition-delay
, but managing individual delays manually is such a painful nightmare when the number of items changes dynamically.
>is there a cleaner way to handle this with css variables?
i was thinking about using nth-child(n) of. card to loop through, but i cant figure out how to pass the index into a custom property without heavy javascript. has anyone found a trick for auto-staggering elements within a grid container? ❓
R: 2 / I: 2

ai code trap

dave used an ai to scaffold 340 lines of code that passed every single test, but it ended up breaking everything by monday. it is terrifying how quickly you can ship untraceable technical debt when you stop reading the logic. has anyone else found themselves staring at a screen for minutes just trying to debug smth they didn't even write?

full read: https://dev.to/johnnickell/nobody-understands-your-ai-written-code-232
R: 2 / I: 2

why ai agents are breaking things

ngl just watched this talk w/ anish agarwal abt how agentic workflow complexity is making production stability a nightmare. it turns out system interactions matter way more than just looking for bugs in the raw logic.
>it's not just the code that fails, it's how everything talks to each other. **anyone else finding traditional observability basically useless for debugging these autonomous loops

full read: https://stackoverflow.blog/2026/06/25/code-isnt-causing-your-production-failures/
R: 1 / I: 1

ai is basically allergic to modern enterprise stacks

the complexity of things like angular or nx monorepos creates a massive headache for llms bc they rely on human-centric patterns rather than simple web standards.
display: block;
works everywhere, but trying to prompt thru nested react ecosystems is a total nightmare . i'm starting to think we should prioritize native browser features over heavy abstraction layers just to keep our ai tools useful.

https://dev.to/iceonfire/why-ai-hates-modern-frameworks-and-loves-web-standards-jgl

."http://www.w3.org/TR/html4/strict.dtd">