Re:TiltShift.js - using jQuery & CSS3 to mimic tilt-shift ph...
by arcatek on Tuesday September 04, 2012 @07:33AM
(#4474097)
Why do you need jQuery ? Can't you use the :hover pseudo-class, along with CSS3 opacity transition on the mask ?
[ Parent
| on HN ]
Re:TiltShift.js - using jQuery & CSS3 to mimic tilt-shift ph...
by noeltock on Tuesday September 04, 2012 @07:36AM
(#4474104)
Yeah, you definitely don't need jQuery if you're doing it image for image. I did it this way so that I had a method to quickly pass settings on and generate the necessary effects on the fly.
Re:TiltShift.js - using jQuery & CSS3 to mimic tilt-shift ph...
by nchuhoai on Tuesday September 04, 2012 @07:35AM
(#4474101)
i assume to read the data-values