CSS: Transition on shadow filter -


so i'm trying cast shadow onto non-rectangular object in png file transparency. works far, when try add transition effect on hovering on image, filter seem max out set value , bounce actual set value when timer transition feature up. i'm running chrome 28 mac appears on safari.

i have demonstrated effect here: http://jsfiddle.net/dbananas/3pms8/

transition: 0.2s ease-in-out; -webkit-filter: drop-shadow(0px 0px 13px rgba(0, 0, 0, 0.9)); 

recommendations fix , make transitions smooth?

thanks, db

i'd check see if works , happens in firefox. if had guess, i'd it's bug in webkit (checking in firefox can confirm it's browser bug , not bug in code). can file bug report here: https://bugs.webkit.org/

that said, in order work around it, might have reconsider how you're going solving problem.

for example, if you're doing text, can use text-shadow property, animatable.

if it's actual image, resort making "shadow image" fade opacity on (if you're using on content image), or swap (if you're swapping background images).

edit found this tutorial, may of use you. it's image cross-fade effect, suggested. has few different variations (including pure css one), can adapt make work you. basically, add background img, fade in/out img element create effect. i'd agree it's not ideal (your -webkit-filter technique arguably superior, if worked in browsers).


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

java - More than one row with the given identifier was found: 1, for class: com.model.Diagnosis -