.news-img {
width: 100%;
height:170px;
background-image: url('images/chiron.jpg');
transition-property: all;
transition-duration: 1000ms;
transition-timing-function: ease-in-out;
}
.news-img:hover {
background-image: url('images/royale.jpg');
}
I've watched a few tutorials about transitions, read some posts here and I still can't understand why my transition works? I've tried as well with:
transition: all 1s ease-in-out;
I know it's the same thing, but still doesn't work..