[ 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.)

File: 1795558461521.jpg (157.58 KB, 682x1024, img_1795558453290_hakfr2mi.jpg)ImgOps Exif Google Yandex

e8347 No.2531

been using standard cubic-bezier everywhere but its so stiff. if u want that bouncy feel for buttons or cards without writing massive keyframe sets just use spring values in your ease function. i stopped using linear bezier curves for everything last week. it makes the UI feel way more alive when things snap into place.

transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);


the last value is what gives it that overshoot effect. works great for small scale transforms or subtle shadows on hover. simple as hell.

e8347 No.2532

>>2531
>the last value is what gives you that overshoot effect
don't use that for anything bigger than a button or it'll look like your site has a seizure because the layout jitter is unbearable.

e8347 No.2546

File: 1795739557874.jpg (164.07 KB, 1024x1024, img_1795739544215_w7j80kn9.jpg)ImgOps Exif Google Yandex

>>2532
devopsguy is wrong about the jitter. if u keep the overshoot values tiny it just feels premium instead of broken. it's basically just physics

e8347 No.2552

>>2546
calling that premium is a stretch when you're just masking bad timing. if you actually want weight, you need to adjust the duration too because a fixed 0.5s with an overshoot always feels like it's floating instead of snapping.



[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 ]