1.Repeating gradients and shuffled paper

Major elements:
z-index:-1; To place other papers unde the main paper.
-webkit-transform:rotate(4deg);
-webkit-transform:rotate(-4deg); decorate the paper's style.
-webkit-linear-gradient(top,#81cbbc,#fcf59b 2%); Setting the form of lines of the paper.
2. CSS-Only slider
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | body{ width:360px; margin:auto; font-family:sans-serif; text-align:center; } h2{ font-size:23px; } .slider-wrap{ width:360px; overflow: hidden; } .slider-wrap ul{ } .slider-wrap ul{ width:10000px; position: relative; padding:0; margin:0; -webkit-animation:slide 20s ease-out infinite; } .slider-wrap li{ float: left; list-style:none; position: relative; } .slider-wrap h5{ position:absolute; width:100%; bottom:4px; background:rgba(0,0,0,.3); color:white; padding: 10px 0; margin-bottom:0; overflow: hidden; -webkit-animation:headings 20s ease-out infinite; } .slider-wrap ul:hover, .slider-wrap ul:hover h5{ -webkit-animation-play-state:paused; } .slider-wrap a{ text-decoration:none; } @-webkit-keyframes 'slide' { 25%{ left:0; } 35%,50%{ left:-360px; } 60%,75%{ left:-720px; } 85%,95%{ left:-1080px; } } @-webkit-keyframes 'headings' { 25%,35%,50%,60%,75%,85%,95%{ bottom:4px; } 28%,53%,78%,98%{ bottom:-200px; } } |






















