作者:mobiledu2502862217 | 来源:互联网 | 2023-09-25 16:09
css:
.flightNumber{
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| display: none;
-moz-transition: opacity 2000ms ease-in-out;
-o-transition: opacity 2000ms ease-in-out;
-webkit-transition: opacity 2000ms ease-in-out;
/*transition: opacity 2000ms ease-in-out;
opacity: 0;
}
.runIn{
-moz-transition: opacity 2000ms ease-in-out;
-o-transition: opacity 2000ms ease-in-out;
-webkit-transition: opacity 2000ms ease-in-out;
/*transition: opacity 2000ms ease-in-out;*/
opacity: 1;
display: block;
} |
html代码:
js代码:$(".flightNumber").addClass("runIn")