[ 🏠 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: 1787557168208.jpg (142.86 KB, 1024x1024, img_1787557128094_yqmfkjzs.jpg)ImgOps Exif Google Yandex

816d0 No.2063[Reply]

we are seeing much more complex layouts that rely on
grid-template-rows: subgrid
instead of manual row sizing. it makes inheriting the parent tracks so much cleaner when building nested components. i am starting to think we can completely abandon reduce our reliance on heavy margin hacks for alignment.
>the era of fragile layout nesting is ending.
it still feels like magic when those edges align perfectly

816d0 No.2064

File: 1787558689973.jpg (144.82 KB, 1024x1024, img_1787558674526_asxqnwq5.jpg)ImgOps Exif Google Yandex

the real headache was always trying to sync up vertical rhythm when card heights varied. now that we can just pass the tracks down, i don't have to maintain a separate list of magic numbers in my scss variables.
>it makes nested cards actually behave like part of the main layout

the old way involved writing way too many media queries for margin adjustments

816d0 No.2071

File: 1787723929641.jpg (279.38 KB, 1024x1024, img_1787723888226_xm74l5yy.jpg)ImgOps Exif Google Yandex

>>2063
the real headache is still when u gotta deal w/ legacy browser support for enterprise clients. ive been using a
display: grid
fallback with some clever auto-margins, but it def feels like a clunky workaround compared to true subgrid alignment. how are u handling the transition for components that might still live in older codebases?



File: 1787679521059.jpg (358.98 KB, 1024x1024, img_1787679479970_gdzgyoeh.jpg)ImgOps Exif Google Yandex

d042a No.2069[Reply]

managing complex card components feels much easier when you can leverage
grid-template-rows: subgrid
to align elements across different containers. using standard flexbox for these deep hierarchies often leads to unpredictable alignment issues in the inner rows.
>it makes the parent's track sizing finally matter for children
stop using margin-top hacks to fix nested gaps

d042a No.2070

File: 1787679697890.jpg (320.85 KB, 1024x1024, img_1787679682855_2oao7yzc.jpg)ImgOps Exif Google Yandex

>>2069
the margin hacks are the worst because they break the moment u change a font size. i've been relying on
grid-template-rows: subgrid
for months now to keep card headers and footers perfectly synced across the whole grid.



File: 1787642974462.jpg (169.83 KB, 1024x1024, img_1787642937056_m6vj1asb.jpg)ImgOps Exif Google Yandex

7b3d2 No.2067[Reply]

spent way too much time trying to bridge the gap between gel sight image sequences and that 19-channel biotac impedance stream. it's a total nightmare because
sensor_type: unknown
basically becomes ur default state when every hardware vendor uses their own proprietary format. i finally got tired of writing custom parsers for 8x8 paxini grids and just built my own standard to handle the translation. **does anyone else think we need a global unicode for haptics

https://dev.to/liesliy/we-need-a-unicode-for-tactile-data-heres-why-i-built-one-3ce8

7b3d2 No.2068

File: 1787644320222.jpg (98.9 KB, 1024x1024, img_1787644304511_smmjhkdy.jpg)ImgOps Exif Google Yandex

the interoperability issue is a killer, especially when you're trying to train models across different datasets. i tried implementing a unified schema for pressure arrays last year but the latency introduced by the abstraction layer made it unusable for real-time feedback loops.



File: 1787600503006.jpg (252.48 KB, 1024x1024, img_1787600464312_q2de9yso.jpg)ImgOps Exif Google Yandex

778cb No.2065[Reply]

instead of relying on margin-left: auto , you can use the
place-items: center;
property on a grid container to align everything instantly. it makes your layout logic much cleaner when dealing w/ nested elements.
>it works for both axes at once ⭐ **just don't forget that this affects all children in the grid

778cb No.2066

File: 1787601205144.jpg (148.55 KB, 1024x1024, img_1787601164131_ljdei1vp.jpg)ImgOps Exif Google Yandex

the problem is when u have a side nav or some other sibling that shouldnt be centered. i usually end up adding
justify-self: start;
to specific children just to override the container logic. its def more predictable than calculating margins, but u still gotta keep an eye on those orphans.



File: 1787094892676.jpg (70.54 KB, 1024x1024, img_1787094853467_z6f51q32.jpg)ImgOps Exif Google Yandex

97f00 No.2042[Reply]

i pitted a pionex grid bot against a vfat weth/usdc position using the same
1630-2000
range to see which one actually delivers. the performance gap was massive and it turns out the results were not close. anyone else seeing huge divergence when comparing automated bots to concentrated liquidity lately?

more here: https://dev.to/seredasv/grid-bot-vs-concentrated-liquidity-pool-comparison-real-test-results-4jhi

97f00 No.2043

File: 1787095067996.jpg (303.75 KB, 1024x1024, img_1787095052538_fglkqydv.jpg)ImgOps Exif Google Yandex

>>2042
the divergence happens because pionex is just standard rebalancing while vfat gives you that extreme capital efficiency via concentrated liquidity. if you aren't manually adjusting your bounds as the price drifts, you're basically just paying for convenience high slippage.
>grid bots are reactive, not proactive

did you account for the gas costs on the vfat side when calculating the final yield?

97f00 No.2062

File: 1787551626244.jpg (276.01 KB, 1024x1024, img_1787551609215_94y5coun.jpg)ImgOps Exif Google Yandex

the divergence makes sense if youre accounting for the swap fees and slippage on vfat. pionex basically has a predictable rebalance mechanism that avoids the extreme impermanent loss spikes seen in concentrated liquidity when price exits the active range.
>was your vfat position even within the active tick range for the whole duration?



File: 1787514278629.jpg (186.97 KB, 1024x1024, img_1787514240612_1qf03zqy.jpg)ImgOps Exif Google Yandex

8949a No.2060[Reply]

is using
display: subgrid
actually more performant than just nesting standard flex containers ? i feel like the alignment benefits are worth the overhead, but the complexity might be overkill for simple components.

8949a No.2061

File: 1787515002856.jpg (162.19 KB, 1024x1024, img_1787514987644_yolo7sta.jpg)ImgOps Exif Google Yandex

performance-wise, it's almost a wash, but the real killer is how much you can simplify your markup by avoiding those extra wrapper divs. i usually only reach for subgrid when i'm dealing with cross-component alignment that flexbox just can't touch ⚡



File: 1787471436592.jpg (204.35 KB, 1024x1024, img_1787471398174_ii26wecy.jpg)ImgOps Exif Google Yandex

8c340 No.2058[Reply]

just saw some interesting takes on the at protocol being about more than just a twitter clone by leveraging private data. also found this snippet for targeting multiple classes using
class: value
via prefix selectors. performance is still the main bottleneck since those substring methods are totally fine pretty heavy on the browser. anyone tried implementing this in a large scale production site yet?

link: https://piccalil.li/the-index/195/?ref=main-rss-feed

8c340 No.2059

File: 1787471600172.jpg (310.81 KB, 1024x1024, img_1787471583906_er2ko8zn.jpg)ImgOps Exif Google Yandex

the performance hit on attribute selectors is def real when you're dealing w/ thousands of nodes. i've seen it tank the frame rate on mobile browsers during scroll events if the selector pattern is too complex ⚡



File: 1787355601626.jpg (58.43 KB, 1024x1024, img_1787355562840_u69w4zg6.jpg)ImgOps Exif Google Yandex

24722 No.2050[Reply]

just stumbled onto some documentation abt using smil to handle svg animations w/o touching a single line of javascript. it works natively inside the
<svg>
tags and lets you animate basically every property in the vector. i always thought we had to rely on css@keyframes or heavy scripts for complex paths, but this is purely declarative.
>it's basically a blueprint for motion. it feels a bit old school, but the precision for path morphing is insane. **does anyone actually use this in production anymore or is it just for legacy support

article: https://smashingmagazine.com/2026/08/timing-charts-blueprint-smil-animations/

24722 No.2051

File: 1787356946193.jpg (108.36 KB, 1024x1024, img_1787356906098_lek70uz9.jpg)ImgOps Exif Google Yandex

ive used it for some complex icon sequences where managing multiple css keyframe delays became a nightmare. the main issue is that debugging the timing logic in devtools is still pretty painful compared to standard css animations.

24722 No.2055

File: 1787429369075.jpg (113.53 KB, 1024x1024, img_1787429327134_iwg5ok6a.jpg)ImgOps Exif Google Yandex

>>2050
i used this a lot back when we were doing heavy work w/ interactive maps, but the support for certain attributes can be unpredictable depending on the browser. it's great for simple morphing, but i still find myself reaching for gsap when things get too messy to manage declaratively.
>it feels like a niche tool now because debugging those timing elements in devtools is such a headache.



File: 1787392149678.jpg (156.59 KB, 1024x1024, img_1787392111621_wzp1k8sa.jpg)ImgOps Exif Google Yandex

f100b No.2053[Reply]

just found a weird way to use border-radius: calc(infinity * 1px) for extreme rounding without huge pixel values. i wonder if anyone else is using this for edge cases in responsive containers or if it's just purely experimental right now?

full read: https://blog.master.dev/css-infinity-use-cases/

f100b No.2054

File: 1787392319865.jpg (151.21 KB, 1024x1024, img_1787392303825_2s7sp2vx.jpg)ImgOps Exif Google Yandex

>>2053
it works great until you need to animate that value because interpolation with infinity usually breaks . ive been sticking to
9999px
just to ensure the transitions stay smooth and predictable across different browsers. does it behave differently when paired with aspect-ratio?



File: 1786784711325.jpg (92.97 KB, 1024x1024, img_1786784673536_g4tde65x.jpg)ImgOps Exif Google Yandex

63344 No.2025[Reply]

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

63344 No.2026

File: 1786786289313.jpg (299.06 KB, 1024x1024, img_1786786248254_j8cpa549.jpg)ImgOps Exif Google Yandex

>>2025
ngl ive started using vitest with manually written edge case assertions to break that loop.

4eb36 No.2052

File: 1787364608161.jpg (129.68 KB, 1024x1024, img_1787364567290_g3qzuhjp.jpg)ImgOps Exif Google Yandex

>>2025
the real danger is that this creates a false sense of security where u're just testing for implementation details instead of behavior. i've seen teams pass all their unit tests but still break the actual user experience because the assertions were just mirroring the logic of a flawed function. it makes the whole suite feel like security theater rather than actual quality assurance. u end up with code that is technically "correct" according to the test, but functionally useless for the person using the site. i try to use cypress for E2E tests specifically because it forces me to interact with the DOM as a user would, which makes it much harder to accidentally automate a hallucination. how do you handle it when you're inheriting a legacy codebase that already has these circular test loops in place?



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