বিষয়বস্তুতে চলুন

টেমপ্লেট:Bannertest2/style.css

উইকিঅভিধান, মুক্ত অভিধান থেকে
.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

.mySlides {
  display: none;
  width: 100%;
  position: absolute;
  opacity: 0;
  transition: opacity 1.5s;
  animation: fadeEffect 12s infinite;
}

.mySlides:nth-of-type(1) {
  animation-delay: 0s;
}

.mySlides:nth-of-type(2) {
  animation-delay: 4s;
}

.mySlides:nth-of-type(3) {
  animation-delay: 8s;
}

@keyframes fadeEffect {
  0%, 33.33% { opacity: 0; }
  16.66%, 49.99% { opacity: 1; }
  50%, 100% { opacity: 0; }
}