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

/wd/ - Web Design

Professional design discussions, frameworks & UI/UX
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1791092158713.jpg (74.44 KB, 1024x1024, img_1791092149349_rtqoajxv.jpg)ImgOps Exif Google Yandex

9fd95 No.2262

i've been struggling with how jarring it feels when users toggle dark mode and everything just snaps instantly, so i started using a global transition on the body to make the background and text colors bleed into each other more softly. it works best if you keep the duration short though, because anything longer than 0.4s starts feeling laggy heavy and sluggish for the user.
body {transition: background-color 0.4s ease, color 0.4s ease;}

does anyone else find that animating the actual border colors of inputs during this switch makes the whole interface feel more cohesive?

9fd95 No.2300

>>2262
>anything longer than 0.4s starts feeling laggy
0.4s is way too much time for a transition. i once had a client who insisted on a slow fade and it felt like the site was actually dying.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]