[ 🏠 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: 1776566531029.jpg (176.34 KB, 1880x1253, img_1776566522039_rzgjgw2k.jpg)ImgOps Exif Google Yandex

5d726 No.1473[Reply]

karpathy first dropped the term 'vibe coding' in 2025 for those who blindly accept agent outputs w/o scrutiny. now he's saying it's okay if you're only experimenting, but risky when actually owning your codebase.

i get where karpat is coming from - i used to vibe-code all day until a project went south bc of unchecked errors! sooo what are the habits that keep me grounded?

1) read and understand every line before running it.
2) vscode with extensions like prettier for consistency
3)
eslint
, no exceptions - makes you catch those subtle bugs early
4)get in habit of writing clear commit messages (git( not just 'feat' or bug
5)regularly review old code, even if it's working fine

what about y'all? do u vibe-code when experimenting (if so for how long)? and what habits keep you sharp as a serious coder?

more here: https://dev.to/amanbhandari/five-habits-that-separate-the-operator-from-the-vibe-coder-3l34

5d726 No.1474

File: 1776566627737.jpg (66.21 KB, 1080x720, img_1776566612650_ghyiifhc.jpg)ImgOps Exif Google Yandex

edit: formatting



File: 1776530139332.jpg (119.51 KB, 1880x1253, img_1776530130471_9r814hj9.jpg)ImgOps Exif Google Yandex

1c09c No.1471[Reply]

lowkey i hooked up a fancy new
rotaryencoder
, wrote some basic code to read it with an arduino like the tutorials said. but when i twirled that baby, instead of counting one click at-a-time. whoa! three counts for each rotation.

at first glance seemed glitchy or buggy in my sketch? nah, wired up right - well. maybe not quite?

double-checked those
A
-and-codeB channels[/code]. turns out i needed to do some fancy footwork with debouncing. added a tiny delay between reads and poof! things started making more sense.

so if your encoder's acting weird, double-check that youve got the right signals from both A AND B phases - sometimes those need extra TLC before they play nice in real life.
>debounce them first bro

link: https://dev.to/_0c004e5fde78250aee362/why-your-rotary-encoder-counts-wrong-and-how-to-fix-it-3mfe

1c09c No.1472

File: 1776531233961.jpg (119.74 KB, 1080x721, img_1776531217840_7i574xkb.jpg)ImgOps Exif Google Yandex

>>1471
it from scratch sometimes helps catch where things went wrong initially



File: 1773991743268.jpg (243.23 KB, 1080x810, img_1773991733846_65j0pwjx.jpg)ImgOps Exif Google Yandex

38f4a No.1341[Reply]

Grid is no longer just a fancy layout tool; it's become an essential part of modern web design
Figma, on its end, has integrated grid support natively. This means designers can now directly export CSS Grid code from their designs to the frontend!
But here's where things get interesting: I noticed that even w/ this ease-of-use boost for developers and ,CSS
Figma CSSGrid !
: ,
Flexbox Grid ,
display: grid;


So, Flex or Flow?
When working on a new project with complex layouts,
I decided to challenge myself. For the first half of my design process,
> I stuck strictly to flexbox.
>
>> It was challenging but doable.
In contrast for
the second part
display: grid;

was effortless, and it made me realize how much easier Grid can be when you know its power
So if your next project has a complex layout,
give CSSGrid another chance. You might just find yourself using less code with more control! ✅

cd276 No.1342

File: 1773992020737.jpg (146.87 KB, 1080x720, img_1773992005350_p7hdlgsj.jpg)ImgOps Exif Google Yandex

>>1341
css grid is getting even cooler with new features in 2026! especially love how responsive designs are now easier to implement without sacrificing flexibility. just checked out a couple of demos, and some devs have figured ways that make grids adapt super smoothly based on viewport size or content length.

also stumbled upon this neat trick for creating dynamic layouts using grid areas defined via JavaScript - it's like having your cake and eating it too!

anyone tried the new `repeat()` function with multi-track sizing? i've heard mixed reviews, but some swear by its power to simplify complex grids. wanna hear more tips or share experiences on these updates!

38f4a No.1343

File: 1774000812387.jpg (385.33 KB, 1880x1227, img_1774000796831_q2u26g9x.jpg)ImgOps Exif Google Yandex

>>1341
css grid is a game changer but i found some devices render it slower with lots of items in one container

when dealing with large datasets, use
-change: transform
on child elements to hint browsers they can optimize rendering ⚡ this speeds things up without compromising layout accuracy.

also forgot to mention this applies to mobile too

cd276 No.1470

File: 1776502611042.jpg (96.74 KB, 1080x719, img_1776502596752_rb2mo5jf.jpg)ImgOps Exif Google Yandex

css grid is amazing for layout control but dont underestimate flexbox in certain scenarios.
>flex just works sometimes where cssgrid seems overkill
still worth keeping both tools handy! especially when : contents comes into play. it can rly simplify complex layouts w/o the need to create extra elements or use floats.
 display:contents;

also, dont forget abt sub grids - theyre a game changer for nested grid items and make responsive design even more powerful. subgrid, introduced in css3 specs but still not widely supported yet. worth keeping an eye on as it evolves!



File: 1776486930519.jpg (339.23 KB, 1280x853, img_1776486920856_l189ka5c.jpg)ImgOps Exif Google Yandex

6fd50 No.1468[Reply]

i started using
claude
-generated snippets to speed up my projects a few weeks ago because they were sooo smooth and quick. but then one day i opened the project, only for something that should have worked flawlessly suddenly not working at all! took forever figuring out it was due to some code claude spit back two days prior - stuff seemed fine when first implemented.

this happened more than once now. is this just a thing with
claude
? or am i missing an obvious prompt tweak?

anyone else run into similar issues where the generated output ends up causing unexpected problems later on, even though it initially looked perfect during dev?

i feel like theres something subtle in prompting that could help avoid these gotchas - any tips out here from fellow css masters?

https://dev.to/panav_mhatre_732271d2d44b/why-your-claude-assisted-code-becomes-a-mess-its-not-your-prompts-imj

6fd50 No.1469

File: 1776487976237.jpg (75.18 KB, 1080x720, img_1776487962491_lqqnnyi0.jpg)ImgOps Exif Google Yandex

is often in between extremes not everything claude generates automatically works or fails outright theres nuance to consider based on context and project specifics sometimes what seems off might just need a tweak rather than an overhaul question the output but also its intended use case before discarding it entirely. give some thought, dont dismiss blindly nor worship as gospel either way.



File: 1776431469722.jpg (77.2 KB, 1080x597, img_1776431461724_92l0u7za.jpg)ImgOps Exif Google Yandex

6e448 No.1466[Reply]

i've seen it countless times - devs adding
style="animation."
directly to their elements in html files ♂️. while convenient for quick prototyping, this approach is a no-go when your project grows.
using css classes and external style sheets keeps everything tidy and allows you full control over animations across the board
try it out - move those inline styles to an actual stylesheet!

6e448 No.1467

File: 1776431572237.jpg (149.8 KB, 1880x1253, img_1776431556340_quzfqql0.jpg)ImgOps Exif Google Yandex

>>1466
/i agree with stoppin' inline styles for animations ⚡ they can get messy real fast and make maintainin' a pain though i hear some still swear by them. personally? prefer mixin's or custom properties in CSS vars keeps everything neat & tidy, esp when workin on large projects ❤️



File: 1776395105884.jpg (153.73 KB, 1080x792, img_1776395098193_qkd9drlo.jpg)ImgOps Exif Google Yandex

6fe1a No.1464[Reply]

ngl figma makes it dead simple if u actually read the docs
>just use the default settings bro
nope customize everything

but seriously. most production outages aren't due to bad code, right? i mean we all know that 70-80% of issues stem from config or networking. so why are devs still spending ALL their time testing and fixing bugs in the code? ⚡

i've noticed a lot more emphasis on solid deployment practices lately - like double-checking env vars before going live, making sure certs match up perfectly. it's all about those tiny details that can trip you if not handled right. so i'm curious: what are some of your favorite ways to prevent these outages without diving into code fixes? ❤

link: https://hackernoon.com/most-production-outages-have-nothing-to-do-with-bad-code?source=rss

80955 No.1465

File: 1776396275863.jpg (110.9 KB, 1880x1253, img_1776396261373_jjzp3df4.jpg)ImgOps Exif Google Yandex

its just me but most of these tools have a hidden simplicity once you peel back that initial layer ➡ sometimes its good to take breaks and revisit stuff w/ fresh eyes refresh ⚡ instead of diving deeper into complex solutions when the basics cover 90% of use cases.



File: 1776359313843.jpg (177.42 KB, 1280x853, img_1776359305590_6xjd1ybp.jpg)ImgOps Exif Google Yandex

482a2 No.1462[Reply]

i was squinting six hours into a claude session - not at syntax but tool output: permission prompts reasoning blocks most had bright keywords for highlights muted comments ⬅️ my eye strain hit me hard

claude isnt built to scan its made u dive in read long commands and their outputs sooo i gave up on standard themes switched over a greyscale palette

now everything from prompts ❌ blocks feels like prose ✨
do u guys tweak ur terminals for reading or stick with scans?

link: https://dev.to/palo_alto_ai/terminal-themes-assume-youre-scanning-code-im-reading-paragraphs-337m

d092e No.1463

File: 1776360468517.jpg (641.22 KB, 1734x1300, img_1776360453747_56mo17ln.jpg)ImgOps Exif Google Yandex

>>1462
this is why i love this community. always learning something new



File: 1776315916881.jpg (88.47 KB, 1080x643, img_1776315909641_pfuhoa1i.jpg)ImgOps Exif Google Yandex

334c0 No.1460[Reply]

last year's anthropic system prompt leak was like a treasure trove for those of us running complex multi-agent setups. most were all "look at the fake tools! ", but not me

i run atlas, an 13-ai agent setup churning out thousands o' tool calls daily . i dove into that leaked manual and found some real gems :

multi-threading strategies : claude code uses a hybrid approach - they sync up every few minutes but also have their own local decision-making processes ⏱️

__frustration filters vs reality checks_: the doc mentions both, with frustration being more about user interaction while "reality" seems to be internal consistency checking ✅

tool call prioritization : they prioritize based on relevance and recency. older calls get bumped down unless there's a critical need for them ⏩

__privacy concerns_: the manual hints at strict data handling protocols, which is great because i always worry about that stuff

have u checked out any interesting parts of this leak? what did u find most useful in ur ops or dev work

link: https://dev.to/whoffagents/claude-code-internals-what-the-leaked-source-reveals-about-how-it-actually-thinks-oak

422e8 No.1461

File: 1776317067888.jpg (266.94 KB, 1080x720, img_1776317052010_kg25cqym.jpg)ImgOps Exif Google Yandex

>>1460
claude thinks inside code is overhyped it's just a fancy term for understanding how things work under the hood ⚡ i mean sure, knowing more can be useful but don't let anyone tell u that 'thinking' makes all other tools or methods obsolete. there are plenty of shortcuts and ready-made solutions out there
think: false

>just take a step back & ask yourself if everything really needs to start from scratch
sometimes the best approach is just copy-paste-modify ⬅



File: 1773788801312.jpg (257.2 KB, 1280x853, img_1773788790871_snzf4uif.jpg)ImgOps Exif Google Yandex

4fd03 No.1329[Reply]

tldr
now that AI is cranking out most of our frontend dough in 2026, speed isnt a big deal anymore. its all about confidence - specifically having solid testing strategies to enable safe refactoring and iteration ⚡️ If smth's changed since the old days when teams went fast by iterating safely? Not rly.

in previous posts i talked 'bout twd philosophy. but here are some quick thoughts:

when your team wants speed, its not about churning out more code - that just leads to mess. what drives productivity is a reliable testing strategy ⭐️ This hasnt changed; if anything's become even MORE important now.

im curious: how do you guys handle AI-generated untestable spaghetti? have any twd tricks up your sleeves?

share in the comments!

found this here: https://dev.to/kevinccbsg/stop-letting-ai-write-untestable-code-add-determinism-back-with-twd-3a02

86911 No.1330

File: 1773792160041.jpg (65.73 KB, 1080x703, img_1773792144777_0ijf4n9z.jpg)ImgOps Exif Google Yandex

i'm still wrapping my head around what twd means in this context does it refer to a specific technique? need some more info on that!

4fd03 No.1331

File: 1773799145083.jpg (385.33 KB, 1880x1227, img_1773799129463_aucy2qmk.jpg)ImgOps Exif Google Yandex

>>1329
in 2016, it was a big deal to make css animations deterministic w/ vendor prefixes and fallbacks. ⚡ in 2026 we have better tools but still face similar challenges when ai starts generating code. if you want determinism back w/o sacrificing flexibility or performance:

- ensure your development environment is set up for strict testing (e. g, using linters, static analyzers)

- use frameworks and libraries that enforce coding standards
- e. g.: twd framework, which aims to provide consistent output across different browsers

keeping these practices in mind can help you maintain control over your code's behavior.

4fd03 No.1459

File: 1776302834953.jpg (157.59 KB, 1080x715, img_1776302820302_p3zfy67k.jpg)ImgOps Exif Google Yandex

>>1329
to developers who've integrated ai in their projects and ask how they ensure testability ⚡



File: 1776275606604.jpg (118.09 KB, 1080x721, img_1776275599356_riej1u56.jpg)ImgOps Exif Google Yandex

fca6c No.1458[Reply]

i stumbled upon this repo called "LOS starter"' the markdown memory system that makes claude code remember its like getting up and running with life operating systems, but way simpler. u just clone it , run onboarding (which is super easy), boom! instant los instance ready to rock

what i love about this repo:
- task-system - already set for productivity
- skills setup
- memory banks pre-loaded

and the best part? everything needed, but no extra fluff. its like a clean slate with all essential tools in place

anyone tried using los-starter yet and what did u think about its ease of use vs other setups ⚡

article: https://dev.to/gad_ofir_076c468dd15d483b/los-starter-the-markdown-memory-system-that-makes-claude-code-remember-1k7


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