css3 - Transition on background-size doesn't work -


i'm trying put transition on background-image on hover. code far:

html

<div class="item-one"></div> 

css

.item-one {      height: 345px;     width: 256px;         background: url('http://placehold.it/256x345') scroll no-repeat center center;     background-size: cover;     -webkit-transition: background-size 1500ms linear;     -moz-transition: background-size 1500 linear;     -o-transition: background-size 1500 linear     -ms-transition: background-size 1500ms linear;     transition: background-size 1500ms linear; }  .item-one:hover {     background-size: 150%;   } 

see jsfiddle

but doesn't work me, tested in different browsers. other transitions background-color work expected. there restriction transitions on property?

i think problem background-size: cover, when change

background-size: 100%; 

it work

jsfiddle

there other question background-size: cover alternative, can is there alternative background-size:cover?

or different solution problems this: css3 crossfade bg image when cover used


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -