<style type='text/css'>
#ad_container {
margin: 100px;
padding: 0;
height: 304px;
width: 304px;
border: 2px solid rgba(111, 126, 255, 0.9);
box-shadow: 2px 2px 10px rgba(111, 126, 255, 0.7);
border-radius: 15px 15px 0 0;
overflow: hidden;
}
#ad_title {
padding: 0;
height: 50px;
line-height: 50px;
font-size: 24px;
color: white;
text-align: center;
background: rgba(111, 126, 255, 0.8);
}
@-webkit-keyframes scroll-up {
0% {-webkit-transform: translateY(0);}
/* the height of each image is 250px, so 4 images have the height of 1000px */
100% {-webkit-transform: translateY(-75%);}
}
@keyframes scroll-up {
0% {transform: translateY(0);}
/* the height of each image is 250px, so 4 images have the height of 1000px */
100% {transform: translateY(-75%);}
}
#ad_content {
margin: 5px auto;
padding: 0;
height: 250px;
width: 300px;
overflow: hidden;
}
#ad_content1 {
margin: 0;
padding: 0;
list-style-type: none;
-webkit-animation: scroll-up ease-in-out 10s infinite;
animation: scroll-up ease-in-out 10s infinite;
}
#ad_content1:hover {
-webkit-animation-play-state: paused;
animation-play-state: paused;
}
#ad_content1 li {
margin: 0 auto;
padding: 0;
}
</style>
No comments:
Post a Comment