Live data from Hacker News

JQuery Transit - CSS3 animations for jQuery

ricostacruz.com

1–10 of 28 posts

Re: JQuery Transit - CSS3 animations for jQuery

#7

Client-side UA sniffing in 2012? Ugh. Flagging a browser because "something doesn't work" is just lazy.

Lazy, sure, but not always a worse experience for the end user.

Testing w/ Modernizr _will_ use client resources, and sometimes it's faster, cheaper, and less costly to make assumptions than run those tests.

Terrible case in point: "position:fixed". It's not supported in older iOS and IE6, and CSS fallbacks don't work. Testing for it w/ JS is too costly to be worth it, so UA checking is a better compromise. (That is, if it's mandatory to degrade well...)

Re: JQuery Transit - CSS3 animations for jQuery

#9

Client-side UA sniffing in 2012? Ugh. Flagging a browser because "something doesn't work" is just lazy.

Lazy, sure, but not always a worse experience for the end user. Testing w/ Modernizr _will_ use client resources, and sometimes it's faster, cheaper, and less costly to make assumptions than run those tests. Terrible case in point: "position:fixed". It's not supported in older iOS and IE6, and CSS fallbacks don't work. Testing for it w/ JS is too costly to be worth it, so UA checking is a better compromise. (That is,…

> CSS fallbacks don't work.

[IE6] http://www.cssplay.co.uk/layouts/fixed.html

(Not that it matters anymore.)

Post reply on HN