CSS transition is not working in Safari -


when hover on image1div, scales 0.95 , fades 80% opacity. works in chrome , firefox not safari. fades , scales instantly in safari rather smoothly in 0.5s.

.image1div {  width: 350px;  height: 350px;  margin-top: 0px;  float: right;  background-color: #5a89ad;  background-size: cover;  filter:alpha(opacity=100);  -webkit-transform: scale(1,1);      -ms-transform: scale(1,1);          transform: scale(1,1);  -webkit-transition: opacity 0.5s ease, transform 0.5s ease;          transition: opacity 0.5s ease, transform 0.5s ease;     }  .image1div:not(.no-hover):hover {   -webkit-transform: scale(0.95,0.95);       -ms-transform: scale(0.95,0.95);           transform: scale(0.95,0.95);   opacity:0.8;   filter:alpha(opacity=80); } 

i think has filter property. transition supported safari: http://caniuse.com/#feat=css-transitions filter property, need add prefix: http://caniuse.com/#feat=css-filters let me know if helps, if not, provide more details , find workaround.

-- edit instead of transition: opacity, transform. use all, or check out how can add multiple properties css transition shorthand multiple properties?


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -