Ken Burns on Twitter Bootstrap Carousel
问题 How could I apply a Ken Burns Effect on a Twitter Bootstrap Carousel? .carousel .item img { -webkit-transition: all 12s; -moz-transition: all 12s; -o-transition: all 12s; transition: all 12s; } ... seems not to apply transition. See it in action with jsFiddle... 回答1: ... seems not to apply transition. Oh, but it does! You only have to remove two typos from the CSS code of your fiddle: a display: inline-block; outside of any selector brackets a comment starting with // instead of using /*...*/