css transitions - Working off a CSS3 animated background tutorial -


i'm working off of great css3 animated background tutorial can found here

the problem won't work. unfortunately, tutorial blog post code, , there's no specific name it, i've been having trouble finding support issue.

it uses simple html markup:

<ul class="cb-slideshow"> <li>     <span>image 01</span>     <div>         <h3></h3>     </div> </li> <li> <span>image 02</span> <div>         <h3></h3>     </div> </li> <li> <span>image 03</span> <div>         <h3></h3>     </div> </li> <li> <span>image 04</span> <div>         <h3></h3>     </div> </li> <li> <span>image 05</span> <div>         <h3></h3>     </div> </li> <li> <span>image 06</span> <div>         <h3></h3>     </div> </li> <li> <span>image 07</span> <div>         <h3></h3>     </div> </li> <li> <span>image 08></span> <div>         <h3></h3>     </div> </li> 

and rest done in css3

    .cb-slideshow, .cb-slideshow:after {      position: fixed;     width: 100%;     height: 100%;     top: 0px;     left: 0px;     z-index: 0;  }  .cb-slideshow:after {      content: '';     background: transparent url() repeat top left;  }  .cb-slideshow li span {      width: 100%;     height: 100%;     position: absolute;     top: 0px;     left: 0px;     color: transparent;     background-size: cover;     background-position: 50% 50%;     background-repeat: none;     opacity: 0;     z-index: 0;     animation: imageanimation 40s linear infinite 0s;  }  .cb-slideshow li div {      z-index: 1000;     position: absolute;     bottom: 30px;     left: 0px;     width: 100%;     text-align: center;     opacity: 0;     color: #fff;     -webkit-animation: titleanimation 40s linear infinite 0s;     -moz-animation: titleanimation 40s linear infinite 0s;     -o-animation: titleanimation 40s linear infinite 0s;     -ms-animation: titleanimation 40s linear infinite 0s;     animation: titleanimation 40s linear infinite 0s;  } .cb-slideshow li div h3 {      font-family: 'bebasneueregular', 'arial narrow', arial, sans-serif;     font-size: 240px;     padding: 0;     line-height: 200px;  }  .cb-slideshow li:nth-child(1) span {      background-image: url(../images/homepage/img01.jpg)  } .cb-slideshow li:nth-child(2) span {      background-image: url(../images/homepage/img02.jpg);     animation-delay: 5s;      -webkit-animation-delay: 5s; } .cb-slideshow li:nth-child(3) span {      background-image: url(../images/homepage/img03.jpg);     animation-delay: 10s;      -webkit-animation-delay: 10s; } .cb-slideshow li:nth-child(4) span {      background-image: url(../images/homepage/img04.jpg);     animation-delay: 15s;      -webkit-animation-delay: 15s; } .cb-slideshow li:nth-child(5) span {      background-image: url(../images/homepage/img05.jpg);     animation-delay: 20s;      -webkit-animation-delay: 20s; } .cb-slideshow li:nth-child(6) span {      background-image: url(../images/homepage/img06.jpg);     animation-delay: 25s;      -webkit-animation-delay: 25s; }  .cb-slideshow li:nth-child(7) span {      background-image: url(../images/homepage/img07.jpg);     animation-delay: 30s;      -webkit-animation-delay: 30s; }  .cb-slideshow li:nth-child(8) span {      background-image: url(../images/homepage/img08.jpg);     animation-delay: 35s;      -webkit-animation-delay: 35s; }  @keyframes imageanimation {      0% { opacity: 0;     animation-timing-function: ease-in; }     8% { opacity: 1;          animation-timing-function: ease-out; }     17% { opacity: 1 }     25% { opacity: 0 }     100% { opacity: 0 } } 

there's backup in case browser doesn't support css3 animations:

.no-cssanimations .cb-slideshow li span{ opacity: 1; 

}

this supposed ensure don't end blank page, have. i've re-checked links, , entirely copied demo, it's not displaying on page. familiar css3 , have ideas issue be?

maybe problem can fixed adding webkit , such to

 @keyframes imageanimation {       0% { opacity: 0;      animation-timing-function: ease-in; }      8% { opacity: 1;           animation-timing-function: ease-out; }      17% { opacity: 1 }      25% { opacity: 0 }      100% { opacity: 0 } so:  @-webkit-keyframes imageanimation {       0% { opacity: 0;      animation-timing-function: ease-in; }      8% { opacity: 1;           animation-timing-function: ease-out; }      17% { opacity: 1 }      25% { opacity: 0 }      100% { opacity: 0 } @-moz-keyframes imageanimation {       0% { opacity: 0;      animation-timing-function: ease-in; }      8% { opacity: 1;           animation-timing-function: ease-out; }      17% { opacity: 1 }      25% { opacity: 0 }      100% { opacity: 0 } @-o-keyframes imageanimation {       0% { opacity: 0;      animation-timing-function: ease-in; }      8% { opacity: 1;           animation-timing-function: ease-out; }      17% { opacity: 1 }      25% { opacity: 0 }      100% { opacity: 0 } 

Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo