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 officiallydanger 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 justnpm testeverything into submission, but that's how bugs hide in plain sight.
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 insteadfound 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.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.why we stop checking ai prs
we tend to skip the deep dive when an ai generates a cleandisplay: gridlayout, 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?
animating border images
ngl i just stumbled onto this trick where you can animateborder-image-sliceto 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 ?
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 accidentaldisplay: 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?
centering with the easiest grid trick
if you are tired of fighting w/ margins, use this single line to align everything perfectly. applyingplace-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. ⚡
pure css liquid orb challenge
lets see who can create a realistic, organic-looking blob using onlyborder-radiusand 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.
problem with trusting agent-generated commits
ngl i just pushed a fix written by an agent thatstruggling with grid overlapping issues
i am trying to build a complex dashboard layout usingdisplay: gridbut 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.
overflow: hiddento 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
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.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 usingdisplay: gridfor 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
grid-only isometric challenge
let's see if we can build a 3d-looking object using strictlydisplay: gridw/o any transforms. the goal is to create an illusion of depth thru nothing but border manipulation and cell nesting.
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?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. usingdisplay: gridallows 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.
some typography properties i've been digging into lately
found some cool ways to level up text layouts without adding extra divs. usingbackground-clip: textmakes 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: allfor 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.
vertical-alignfor anything other than basic images and spans these days?
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?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.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?using claude to catch logic errors before they hit production
i stopped relying on standard linters bc claude catches the architectural flaws thatdisplay: gridwon'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?
grid is not a replacement for flexbox
we need to stop pretending that every single layout should be defined bydisplay: 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.
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 usedisplay: gridor
display: flexto 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.
subgrid vs standard grid for nested layouts
deciding between using a standard grid on a parent container versus leveraging the power ofdisplay: subgridfor 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
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 teamsnew css updates
just saw some wild stuff abt usingsibling-index()for animations and those new container "stuck" queries. i'm really curious if the infinity keyword will finally make us stop writing
stop using grid for simple one-dimensional layouts
everyone seems to think that usingdisplay: gridis 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.
flex-direction: columnworks. it is not a flex of your skills, it is just bad practice
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 ongrid vs flexbox for card layouts
usingdisplay: gridfeels 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
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 ofwidth: 100vwin
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 justanimation-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.
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?stop using margin to center items
instead of wrestling with uneven margins, usedisplay: gridand
place-items: centerto align children perfectly. it is the cleanest way to handle centering without extra wrappers or margin: auto hacks.
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. usingalign-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?
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.npm run lintto 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
found this open source eduscreen tool for adhd/dyslexia screening
JUST stumbled upon this project that tries to make professional screenings more accessible without thegrid is becoming too much of a crutch
ngl everyone relies ondisplay: gridfor 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: flexwith 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.
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 usualmanaging grid tracks with auto-fit vs auto-fill
i am trying to decide between usinggrid-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.
subgrid is finally standard everywhere
everyone keeps relying ondisplay: gridfor 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.
zero-container challenge
try building a complex card layout using onlydisplay: contentsand no explicit wrapper divs. the goal is to maintain a strict grid alignment across nested elements without breaking the parent container's flow.
css mistakes doc is a wild read
everyone knows thatbox-sizing: border-boxshould 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?
native masonry animations without js
finally found a way to ditch masonry. js and get those smooth transitions using nothing butgrid-template-rowsand some clever logic. anyone else still
using container queries to replace media queries
stop relying on window width for component logic. instead, use thecontainer-type: inline-sizeproperty 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 .
display: gridinside 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
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?grid is making flexbox obsolete
everyone keeps arguing about which layout engine to use for modern components. usingdisplay: gridfor simple one-dimensional navbars is a total
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 anyaddEventListeneror 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.
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 thatsubtle grid gaps are ruining layouts
fr lately i have been noticing that usinggap: 1pxto create thin borders is becoming a
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 ifdisplay: 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
thinking about how much we rely on css
ngl it is wild that w/odisplay: blockor 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
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 withdisplay: 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.
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.
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 cssdisplay: flex;was the only thing keeping me awake at night
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 todisplay: gridis 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.
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 handlegrid-template-columnsfor 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?
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?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.centering everything with one property
you can avoid the usual flexbox headache by using a single line of css. if you setdisplay: 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.
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.why i test in safari first
i stopped building for chrome by default because it wasdisplay: contentsissues 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?
index issue 190
caught that new code tv episode about the landing page and it's pure magic usingcolor-mixwith temporal transitions. also check out the kyroh font by dan cederholm, though i am still
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.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?horizontal layer strategy for tokens
fr moving all your component--token: valuedeclarations into a dedicated @layer makes overriding them completely painless because you arent fighting specificity. does anyone else still
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 avoidplugin_bloat: true.
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 yourconst 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?beyond scroll animations
ngl theview()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
grid vs flexbox struggle
spent way too long trying to force a dashboard layout using justdisplay: flexlast 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
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.centering with only one line of css
stop using transforms to center elements and causing layout shifts. you can achieve a perfect center usingdisplay: 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.
subgrid is finally becoming the standard for everything
we should prob stop relying onmargin: autofor 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
centering anything with the modern way
you can stop using complex transforms to center elements. if you applydisplay: 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
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 writingfunction 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 usingdisplay: 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
stop sleeping on :has
i used to think :has was just another unnecessary addition, but it's become essential for my workflow lately.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 writingdisplay: 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?
subgrid is finally becoming the standard for everything
everyone talks aboutdisplay: gridbut 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
field guide to grid lanes
just stumbled onto this breakdown ofdisplay: 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.
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?grid is becoming a crutch for everything
were seeing too many devs usedisplay: gridto 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 ⚠
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 configuringCLAUDE.mdto 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?
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 usingtransition-duration: 300ms;or just plug in the motion library.
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?stuck on staggered grid animations
trying to animate a group of cards usingdisplay: gridbut 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
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?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.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.