css中添加:

body {
    animation:fadeInAnimation ease 1.8s;
    animation-iteration-count:1;
    animation-fill-mode:forwards;
}
@keyframes fadeInAnimation {
    0% {
    opacity:0;
}
100% {
    opacity:1;
}
}