.mySlides {
display: none;
height: 100%;
font-family: Arial,Helvetica,sans-serif;
}
.mySlides img {
width: 100%;
height: 100%;
}
.slideshow-container {
overflow: hidden;
position: relative;
margin: auto;
width: 500px;
height: 200px;
}
.slide-prev, .slide-next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -22px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
}
.slide-next {
right: 0;
border-radius: 3px 0 0 3px;
}
.slide-prev:hover, .slide-next:hover {
background-color: rgba(0,0,0,0.8);
}
.slide-text {
color: #f2f2f2;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
text-shadow: 0px 0px 2px #000;
}
.slide-number {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
.slide-dot-control {
text-align: center;
margin-top: 10px;
}
.slide-dot {
cursor:pointer;
height: 13px;
width: 13px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.slide-dot-active, .slide-dot:hover {
background-color: #717171;
}
/************CSS Animation***********/
.animated {
-webkit-animation-name: lightSpeedIn;
animation-name: lightSpeedIn;
-webkit-animation-duration: 1s;
animation-duration: 1s;
}
@-webkit-keyframes lightSpeedIn {
0% { -webkit-transform: translateX(100%) skewX(-30deg); opacity: 0; }
60% { -webkit-transform: translateX(-20%) skewX(30deg); opacity: 1; }
80% { -webkit-transform: translateX(0%) skewX(-15deg); opacity: 1; }
100% { -webkit-transform: translateX(0%) skewX(0deg); opacity: 1; }
}
@keyframes lightSpeedIn {
0% { transform: translateX(100%) skewX(-30deg); opacity: 0; }
60% { transform: translateX(-20%) skewX(30deg); opacity: 1; }
80% { transform: translateX(0%) skewX(-15deg); opacity: 1; }
100% { transform: translateX(0%) skewX(0deg); opacity: 1; }
}
.lightSpeedIn {
-webkit-animation-name: lightSpeedIn;
animation-name: lightSpeedIn;
-webkit-animation-timing-function: ease-out;
animation-timing-function: ease-out;
}
.animated.lightSpeedIn {
-webkit-animation-duration: 0.5s;
animation-duration: 0.5s;
}
Hdhenrnd
Hdhdnrndkdd
Comments
Post a Comment