0
.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..

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
specbk
  • 99
  • 2
  • 13

0 Answers0