Line 45: | Line 45: | ||
border-radius: 50%; | border-radius: 50%; | ||
display: inline-block; | display: inline-block; | ||
− | transition: background-color | + | transition: background-color 2s ease; |
} | } | ||
Line 148: | Line 148: | ||
slides[slideIndex-1].style.display = "block"; | slides[slideIndex-1].style.display = "block"; | ||
dots[slideIndex-1].className += " active"; | dots[slideIndex-1].className += " active"; | ||
− | setTimeout(showSlides, 2000); // Change image every | + | setTimeout(showSlides, 2000); // Change image every 4 seconds |
} | } | ||
</script> | </script> |
Revision as of 06:15, 21 October 2019