Using Fade-In and Fade-Out Effects Just using CSS Code

A fade-in effect begins with a solid color (Movie Maker supports both black and white) and then fades into your video. A fade-out effect begins with the video and then fades into the solid color, again either black or white.

Fade-ins and fade-outs are among the most common effects used by video producers, because they're so effective at signaling the end of one scene and the start of another. Fortunately, they're also very easy to implement in Movie Maker. The only downside is that all Movie Maker fades last less than a second, a setting that you can't adjust. If this isn't long enough for you, or to fade into or out of a different color

    /* Fade Effect - 1 */

<style>
.fade-in1 {
  animation: fadeIn1 ease 25s;
  -webkit-animation: fadeIn1 ease 25s;
  -moz-animation: fadeIn1 ease 25s;
  -o-animation: fadeIn1 ease 25s;
  -ms-animation: fadeIn1 ease 25s;
}@keyframes fadeIn1 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
  }
}

@-moz-keyframes fadeIn1 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
  }
}

@-webkit-keyframes fadeIn1 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
  }
}

@-o-keyframes fadeIn1 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
  }
}

@-ms-keyframes fadeIn1 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
 }
}

</style>

<div class="fade-in1">
  Fade effect - 1
</div>

Preview


        /* Fade Effect - 2 */

<style>
.fade-in2 {
  animation: fadeIn2 ease 45s;
  -webkit-animation: fadeIn2 ease 45s;
  -moz-animation: fadeIn2 ease 45s;
  -o-animation: fadeIn2 ease 45s;
  -ms-animation: fadeIn2 ease 45s;
}@keyframes fadeIn2 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
  }
}

@-moz-keyframes fadeIn2 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
  }
}

@-webkit-keyframes fadeIn2 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
  }
}

@-o-keyframes fadeIn2 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
  }
}

@-ms-keyframes fadeIn2 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
  }
}

</style>

<div class="fade-in2">
  Fade effect - 2
</div> 

Preview


           /* Fade Effect - 3 */

<style>
.fade-in3 {
  animation: fadeIn2 ease 90s;
  -webkit-animation: fadeIn2 ease 90s;
  -moz-animation: fadeIn2 ease 90s;
  -o-animation: fadeIn2 ease 90s;
  -ms-animation: fadeIn2 ease 90s;
}@keyframes fadeIn3 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
  }
}

@-moz-keyframes fadeIn3 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
  }
}

@-webkit-keyframes fadeIn3 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
  }
}

@-o-keyframes fadeIn3 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
  }
}

@-ms-keyframes fadeIn3 {
  0% {
    filter:blur(10px);
  }
  100% {
    filter:blur(0px);
  }
}

</style>

<div class="fade-in3">
  Fade effect - 3
</div> 

Preview