Line 46: | Line 46: | ||
border-radius: 50%; | border-radius: 50%; | ||
display: inline-block; | display: inline-block; | ||
− | transition: background-color | + | transition: background-color 0.6s ease; |
} | } | ||
Line 128: | Line 128: | ||
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 5 seconds |
} | } | ||
</script> | </script> |
Revision as of 22:36, 15 June 2017
×