•  <div id="red-square" style="background-color: red; height: 200px; width: 200px;">&nbsp;</div>

    <script>
    document.getElementById("red-square").fadeOut("2000");
    </script>