Awesome Moving Sliders for website using Simple Css and Jquery | Sanwebcorner

Awesome Moving Sliders for website using Simple Css and Jquery

Today i shared a script of Nice Moving slide script for website using the simple css and Jquery. Every website attract the customers by website sliders. Sliders are very important for every website. This type of awesome moving sliders really attracting the users. This effect is slider is moving from right to left slowly like video animation and it is disappear suddenly and the second slider moving right to left like that the sliders continue their works. 

This awesome moving sliders images is specified in css file. This nice slider is full width and full height slider you can modify the height and width of the sliders to change the css code. the moving functions defined using css code using css keyframe.  This is one of the responsive slider. Moving slider will display all of the screens in perfect manner.

This is very interesting script, I will provided the full source code in download page you can download and use this script in your projects. It is also done by using the Jquery , css, javascript. You can change this code according to your design(website). Here i provided the demo link, In the demo link you can view the live moving slide effect. I hope this example is very helpful. 



Html code for Awesome Moving Slider:

<section id="ph-background" class="ph-background">
<div class="slides-box">
<ul class="slides">
<li style="background: url('') center no-repeat"></li>
<li style="background: url('') center no-repeat"></li>
<li style="background: url('') center no-repeat"></li>
<li style="background: url('') center no-repeat"></li>
</ul>
</div>
</section>


Css for Moving Animation:


ul li {
  list-style-type: none;
}

.slides-box {
  width: 100%;
  height: 100%;
  margin: auto;
  overflow: hidden;
  position: absolute;
  z-index: 0;
  top: 0;
}

.slides {
  position: relative;
  height: 100%;
  width: 100%;
  margin: auto;
  float: left;
}

@-webkit-keyframes MOVE-BG {

    from { left: 0; }
    to { left: -200px; }
}
@keyframes MOVE-BG {
    from { left: 0; }
    to { left: -200px; }
}

.bg{
  width: 900px;
  animation-name: MOVE-BG;
  animation-duration: 10s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  -webkit-animation-name: MOVE-BG;
  -webkit-animation-duration: 10s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
}

.slides li {
  display: none;
  position: absolute;
  /*width: 100%;*/
  height: 100%;
}

.slides li img {
  display: block;
  width: 100%;
  margin: auto;
}

.prev,
.next {
  position: absolute;
  z-index: 99;
  top: 50%;
  margin-top: -40px;
  left: 0;
  height: 70px;
  width: 30px;
  color: #fff;
  cursor: pointer;
  background-color: #000;
  opacity: .5;
}

.prev:hover,
.next:hover {
  opacity: .7;
}



@media(max-width: 767px){
  
  @-webkit-keyframes MOVE-BG {
      from { left: 0; }
      to { left: -300px; }
  }
  @keyframes MOVE-BG {
      from { left: 0; }
      to { left: -300px; }
  }
  .bg{
    width: 1218px;
  }
  .slides :first-child {
    background:  url('../Banners/Banner1_big.jpg') center no-repeat !important;
  }
  .slides :nth-child(2) {
    background: linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.2)), url('../Banners/Banner2_big.jpg') center no-repeat !important;
  }
  .slides :nth-child(3) {
    background: linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.2)), url('../Banners/Banner3_big.jpg') center no-repeat !important;
  }
  .slides :last-child {
    background: linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.2)), url('../Banners/Banner4_big.jpg') center no-repeat !important;
  }
}

@media(min-width: 768px){
  @-webkit-keyframes MOVE-BG {
      from { left: 0; }
      to { left: -300px; }
  }
  @keyframes MOVE-BG {
      from { left: 0; }
      to { left: -300px; }
  }
  .bg{
    width: 1218px;
  }
  .slides :first-child {
    background:  url('../Banners/Banner1_big.jpg') center no-repeat !important;
  }
  .slides :nth-child(2) {
    background: linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.2)), url('../Banners/Banner2_big.jpg') center no-repeat !important;
  }
  .slides :nth-child(3) {
    background: linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.2)), url('../Banners/Banner3_big.jpg') center no-repeat !important;
  }
  .slides :last-child {
    background: linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.2)), url('../Banners/Banner4_big.jpg') center no-repeat !important;
  }
}
@media(min-width: 992px){
  .bg{
    width:1662px;
  }
  .slides :first-child {
    background:  url('../Banners/Banner1.jpg') center no-repeat !important;
  }
  .slides :nth-child(2) {
    background:  linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.2)), url('../Banners/Banner2.jpg') center no-repeat !important;
  }
  .slides :nth-child(3) {
    background:  linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.2)), url('../Banners/Banner3.jpg') center no-repeat !important;
  }
  .slides :last-child {
    background: linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.2)), url('../Banners/Banner4.jpg') center no-repeat !important;
  }
}
@media(min-width: 1400px){
  .bg{
    width: 2218px;
  }
  .slides :first-child {
    background: url('../Banners/Banner1_big.jpg') center no-repeat !important;
  }
  .slides :nth-child(2) {
    background: linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.2)), url('../Banners/Banner2_big.jpg') center no-repeat !important;
  }
  .slides :nth-child(3) {
    background: linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.2)), url('../Banners/Banner3_big.jpg') center no-repeat !important;
  }
  .slides :last-child {
    background: linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.2)), url('../Banners/Banner4_big.jpg') center no-repeat !important;
  }
}




Post a Comment

Labels

360 degree view product image 3d rotate 3d text 3step-form Accordion menu ajax All Browsers Animated Background Gradient animation audio controller auto complete Best accordion menu bootstrap border bounce effect on hover Breadcrumb calculate age by dob calendar Captcha change image on mouse move color chooser countdown Counter on scroll Css css animation css buttons css hover css3 customized upload Button Date picker delete data from table Different scroll speed email otp verification email verifier Embed eventlist Expanding Menu feedbck form flash news section close button full screen menu Google custom search Google Maps Google reCAPTCHA Google site search gradient hide menu Horizontal News ticker Hover Htm Html html5 html5 form validation Iframe image hover increment decrement textbox value based on select box Javascript Jquery js Layered image effect on mouse hover marquee marquee with close button mobile number validation mobile otp login Multi-level-drop-down-menu multi-level-form mysql News ticker on hover change text to image our team page password strength checker Photoshop PHP Popup image on click the link pure css Random password Redirect page Based on the select box while submit the form responsive responsive menu responsive popup box Responsive Vertical Time line design rotate image simple coming soon page simple countdown based on end date simple typing effect slider sliding tab sms otp login statistic counter on scroll switch tag shape team member Time picker toggle toggle view transparent button underline animation up down slide validation vertical fixed sidebar Webtips Youtube