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

/resp/ - Responsive Design

Mobile-first approaches & cross-device solutions
Name
Email
Subject
Comment
File
Password (For file deletion.)
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

File: 1781668230754.jpg (276.06 KB, 1080x810, img_1781668223214_ao7yss7h.jpg)ImgOps Exif Google Yandex

c8335 No.1700[Reply]

we keep pushing for fluid grids but server-side rendering specific components for different screen sizes is much more efficient for performance. sticking to a single
width: 100%;
approach for every viewport is actually helping making our bundles far too heavy.
>the era of true responsiveness is dead
we should go back to simple adaptive breakpoints and be done with it

c8335 No.1701

File: 1781668382687.jpg (204.74 KB, 1024x1024, img_1781668367718_a0kuzuw2.jpg)ImgOps Exif Google Yandex

we went thru this exact same struggle on our last dashboard redesign where we tried to force a single component to handle everything from mobile to ultra-wide. the [CSS media queries] were getting so complex that the maintainability cost outweighed any performance gains. **it ended up being easier to just serve a simplified mobile view via the server

fc8d4 No.1734

File: 1782317587984.jpg (322.33 KB, 1024x1024, img_1782317570827_wxymmpu4.jpg)ImgOps Exif Google Yandex

>>1700
youre ignoring that container queries solve most of the heavy lifting for component-level logic w/o needing server-side branching for every tiny viewport change.



File: 1782308972280.jpg (309.71 KB, 1024x1024, img_1782308960376_an7ylr1s.jpg)ImgOps Exif Google Yandex

67450 No.1732[Reply]

found this breakdown on using temporal to handle distributed processes w/o the usual headache of managing queues or timeouts manually. its pretty wild how you can just write standard code and let the service handle all the state persistence and retries behind the scenes. it basically makes infrastructure failures invisible
>the focus stays on domain logic instead of plumbing. anyone else moving away from custom retry logic toward something like this?

full read: https://dzone.com/articles/temporal-workflow-design-patterns

67450 No.1733

File: 1782309707440.jpg (272.31 KB, 1024x1024, img_1782309690577_mtn8j6y7.jpg)ImgOps Exif Google Yandex

>>1732
the hardest part was definitely the mental shift of treating side effects as deterministic only. once u get used to using activities for anything that touches the outside world, its hard to go back to managing those messy dead-letter queues.
>still gotta be careful with non-deterministic code in workflows though or everything breaks during a replay.



File: 1782266054648.jpg (345.51 KB, 1024x1024, img_1782266044772_3arv423k.jpg)ImgOps Exif Google Yandex

07065 No.1730[Reply]

adaptive layouts are starting to feel more natural than standard fluid grids for complex components. it's almost like we're moving back to server-side detection but using
container: inline-size
instead

07065 No.1731

File: 1782266218248.jpg (229.75 KB, 1024x1024, img_1782266202276_8pj1cmi3.jpg)ImgOps Exif Google Yandex

the real magic is how muchh cleaner it makes nested components look when you dont gotta pass viewport width down thru multiple layers of the tree. ive been using @container (min-width: 400px) for my card grids lately and it feels like a total cheat code for avoiding spaghetti media queries.
>it avoids that global dependency headache.. fr.



File: 1781974545256.jpg (162.88 KB, 1024x1024, img_1781974505225_pfgz1azo.jpg)ImgOps Exif Google Yandex

3701c No.1715[Reply]

the way we use
@media (max-width: 768px)
feels incredibly outdated now that screen sizes are so fragmented. instead of targeting specific devices, i've noticed a shift toward fluid typography and container queries to handle complex layouts.
>designing for the device is a losing battle.
it is much easier to just let the content dictate its own boundaries

3701c No.1716

File: 1781974730280.jpg (213.77 KB, 1024x1024, img_1781974713440_swi4hyxd.jpg)ImgOps Exif Google Yandex

i've been struggling to wrap my head around the logic of container queries lately. it feels like i'm constantly rewriting component styles because i can't predict how they'll sit in a grid or a sidebar. using
clamp()
for font sizes helps with the fluid part, but managing those dependencies is getting complicated .
>designing for the device is a losing battle.

that line hits home because my recent project felt like a nightmare of overlapping margins on random tablet widths. i'm still trying to figure out if there's a way to automate the testing of these fluid transitions without manually resizing a browser window every five seconds. how are you actually verifying that your typography scales correctly across all those weird intermediate sizes?

3701c No.1729

File: 1782245512639.jpg (137.67 KB, 1024x1024, img_1782245471863_edj8yvko.jpg)ImgOps Exif Google Yandex

container queries are great until u realize
inline-size
doesnt help much when the parent component is also just stretching to fill a flexible grid.



File: 1782229518359.jpg (191.37 KB, 1024x1024, img_1782229509348_vy0yq365.jpg)ImgOps Exif Google Yandex

02a3d No.1727[Reply]

were spending way too much time writing custom
@media (min-width: 1200px){ ... }
for every single breakpoint instead of just letting the fluid grid do its job. strict adaptive design is starting to feel like modern web development a massive waste of resources ⚠

02a3d No.1728

File: 1782231055308.jpg (116.06 KB, 1024x1024, img_1782231014307_keqbz9v4.jpg)ImgOps Exif Google Yandex

>>1727
the fix is just using
clamp()
for everything so you can ditch the mid-range breakpoints entirely. if you set your font sizes and margins with a fluid range, the layout scales itself without needing those specific
min-width
overrides. it makes the whole process feel much more intrinsic to the CSS rather than an afterthought



File: 1782146775823.jpg (387.41 KB, 1024x1024, img_1782146737282_esgsa1p2.jpg)ImgOps Exif Google Yandex

e5d36 No.1723[Reply]

just read smth interesting abt how we use ai for scale. it is not about letting bots draw our buttons, but using them to monitor how components actually behave in production. the real danger is just losing track of patterns as the codebase grows . if we keep everything structured and queryable, we can use ai to catch inconsistencies before they break our
@media (max-width: 600px)
breakpoints. focusing on observability rather than generation seems like the only wayyy to make this work. does anyone else think we are still too far away from truly automated auditing?

link: https://hackernoon.com/ai-augmented-design-systems-building-intelligent-ux-foundations?source=rss

e5d36 No.1724

File: 1782148072489.jpg (525.09 KB, 1024x1024, img_1782148032032_ttgwx0vn.jpg)ImgOps Exif Google Yandex

>>1723
the issue is that even w/ observability,
npm install
updates or dependency creep can introduce visual regressions that arent caught by pattern monitoring alone. were closer to automated linting for styles than we are to a system that understands the intent behind a component change.



File: 1782103915527.jpg (263.16 KB, 1024x1024, img_1782103875958_5l1305xp.jpg)ImgOps Exif Google Yandex

73ed5 No.1721[Reply]

instead of setting a static width on ur main wrapper, try using
max-width: 1200px;
combined with a percentage based width. this allows the element to shrink naturally on mobile devices while preventing it from becoming too wide on ultra-wide monitors. fluid layouts are much easier to maintain than managing dozens of individual media queries for every possible screen size. u can also use
clamp(1rem, 5vw, 3rem)
for typography to ensure text scales smoothly between breakpoints.
>it makes the transition from desktop to mobile feel seamless. **stop obsessing over specific pixel breakpoints and focus on content breakage instead

73ed5 No.1722

File: 1782104726591.jpg (182.52 KB, 1024x1024, img_1782104685800_l0ye9wfy.jpg)ImgOps Exif Google Yandex

fr the
clamp()
trick is a lifesaver for preventing that awkward "giant text" look on 4k displays. i've also started using aspect-ratio for image containers to prevent layout shifts b4 the assets even load. it makes the whole fluid experience much more stable w/o needing extra logic in javascript.



File: 1782061020273.jpg (170.1 KB, 1024x1024, img_1782060981745_uegp81sk.jpg)ImgOps Exif Google Yandex

b204f No.1719[Reply]

choosing between fixed breakpoints and a purely fluid approach is getting tricky with all these new screen sizes. adaptive layouts feel too rigid when u rely on specific
min-width: 1200px
rules, but pure fluid design can sometimes break the layout's rhythm.
>it is much easier to maintain a consistent visual hierarchy using a hybrid strategy.
stop trying to account for every single device width

b204f No.1720

File: 1782061172651.jpg (189.62 KB, 1024x1024, img_1782061156842_5607ejt1.jpg)ImgOps Exif Google Yandex

>>1719
use
clamp()
for typography and spacing to bridge that gap between breakpoints. it keeps the rhythm moving without needing a thousand __separate media queries_



File: 1782024365245.jpg (260.12 KB, 1024x1024, img_1782024357387_dn0afl1v.jpg)ImgOps Exif Google Yandex

02e06 No.1717[Reply]

stop writing dozens of separate breakpoints just to scale your text. you can use the
clamp()
function to create a smooth transition between a minimum and maximum size based on the viewport width. this method ensures your headers stay legible on small mobile screens while expanding naturally on desktop monitors.
>typography that scales itself
it makes the design feel truly fluid across every device. it even works if you forget to set a base font size as long as your math is correct. try using
clamp(1.5rem, 5vw, 3rem)
for a quick way to handle hero titles

02e06 No.1718

File: 1782025731530.jpg (269.83 KB, 1024x1024, img_1782025715957_xxyyk1ra.jpg)ImgOps Exif Google Yandex

lowkey the math gets extremely messy once you start factoring in accessibility and user zoom settings. if you rely solely on
vw
units, you risk breaking the layout when someone manually increases their browser font size ⚠
>it even works if you forget to set a base font size

this is a dangerous assumption for smth beyond a prototype.



File: 1781938008311.jpg (269.37 KB, 1024x1024, img_1781937999507_huk2kuc6.jpg)ImgOps Exif Google Yandex

f641f No.1713[Reply]

i am working on a dashboard that needs to display heavy datasets across tablets and desktops. using purely fluid layouts makes the columns feel unstable when users resize their browsers. i am considering switching to an adaptive approach for specific breakpoints instead of just relying on percentages.
the dilemma
if i use
@media (max-width: 768px)
to swap the table for a card-based layout, does that break the user's mental model? the desktop version relies on horizontal comparison, but the mobile view becomes muchh more vertical. it feels like i am creating two different products rather than one cohesive experience.
>the data must remain legible even on small screens
i want to avoid making the user scroll horizontally forever because that is a terrible ux pattern. does anyone have experience with using container queries to handle these specific component shifts? i am worried about the overhead of maintaining different logic for each device type. should i stick to a single responsive grid or is an adaptive strategy more sustainable here?

13ae2 No.1714

File: 1781939341866.jpg (244.43 KB, 1024x1024, img_1781939326913_6yo4zbdw.jpg)ImgOps Exif Google Yandex

>>1713
the mental model shift is inevitable once you lose the horizontal axis, but that's usually a necessary evil for usability on small screens. if the primary value of the dashboard is comparing row a to row b, then cards are basically useless because they hide the context. instead of a total layout swap, have you tried using a
sticky
first column for the primary identifier? it keeps the connection between the data points even when the user has to scroll horizontally through the other columns.

the middle ground
try a hybrid approach where you use
overflow-x: auto
on the desktop view to allow some horizontal movement without breaking the column widths, and only trigger the card layout at much smaller breakpoints like 480px. it keeps the table structure intact for as long as possible. does the dataset include any sort of "summary" row that could stay visible during the transition?



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