LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code
Fork me on GitHub
Previous Next
  • Built using Sequence.js

    The Responsive Slider with Advanced CSS3 Transitions

    Blue Sky Balloon
  • Creative Control

    Create unique sliders using CSS3 transitions -- no jQuery knowledge required!

    Blue Sky Aeroplane
  • Cutting Edge

    Supports modern browsers, old browsers (IE7+), touch devices and responsive designs

    Blue Sky Kite
CSS
/*
Theme created for use with Sequence.js (http://www.sequencejs.com/)

Theme: Sliding Horizontal Parallax
Version: 1.2
Theme Author: Ian Lunn @IanLunn
Author URL: https://www.ianlunn.co.uk/
Theme URL: http://www.sequencejs.com/themes/sliding-horizontal-parallax/

This is a FREE theme and is available under a MIT License:
https://www.opensource.org/licenses/mit-license.php

Sequence.js and its dependencies are (c) Ian Lunn Design 2013 unless otherwise stated.
*/

/* THEME STYLES */
#sequence {
  position: relative;
  min-height: 600px;
  max-width: 1400px;
  min-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  background: url(https://raw.githubusercontent.com/IanLunn/Sequence/8671c2445e3e7348c28d005d4cc4ca65aff288ca/themes/sliding-horizontal-parallax/images/bg-sky.png) repeat-x #65b7f1;
  color: white;
  font-family: "Play", sans-serif;
}

#sequence > .sequence-canvas {
  height: 100%;
  width: 100%;
}

#sequence > .sequence-canvas > li {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#sequence > .sequence-canvas li > * {
  position: absolute;
  transition-timing-function: ease-in-out;
}

#sequence .sequence-next,
#sequence .sequence-prev {
  color: white;
  cursor: pointer;
  display: none;
  font-size: 80px;
  font-weight: bold;
  position: absolute;
  opacity: 0.4;
  top: 280px;
  height: 41px;
  width: 39px;
  z-index: 20;
  transition-duration: 0.4s;
}

#sequence .sequence-prev {
  left: 40px;
}

#sequence .sequence-next {
  right: 40px;
}

#sequence .sequence-next:hover,
#sequence .sequence-prev:hover {
  opacity: 1;
  transform: scale(1.2);
  transition-duration: 0.4s;
}

#sequence h2 {
  font-size: 1.5em;
  line-height: 1.2em;
}

#sequence .info {
  color: black;
  font-size: 1em;
  right: 150%;
  line-height: 1.2em;
  top: 270px;
  width: 25%;
  z-index: 10;
  vertical-align: middle;
  transition-duration: 4s;
  transition-property: right;
}

#sequence .animate-in .info {
    right: 15%;
    transition-duration: 4s;
}

#sequence .animate-out .info {
    right: -150%;
    transition-duration: 4s;
}

#sequence .balloon {
    left: -140%;
    top: 200px;
    max-width: 40%;
    z-index: 6;
    transition-property: left top;
}

#sequence .animate-in .balloon {
    left: 15%;
    top: 70px;
    transition-duration: 4s;
    z-index: 4;
}

#sequence .animate-out .balloon {
    left: 140%;
    top: -30px;
    z-index: 2;
    transition-duration: 4s;
}

#sequence .aeroplane {
    left: -50%;
    max-width: 40%;
    top: 800px;
    z-index: 6;
    transition-property: left top transform;
}

#sequence .animate-in .aeroplane {
    left: 10%;
    top: 100px;
    transition-duration: 4s;
    transform: rotate(20deg);
    z-index: 4;
}

#sequence .animate-out .aeroplane {
    left: 70%;
    top: -900px;
    transition-duration: 4s;
    transform: rotate(40deg);
    z-index: 2;
}

#sequence .sky {
    height: auto;
    width: 100%;
    left: -6%;
    opacity: 0;
    top: 0;
    vertical-align: middle;
    z-index: 1;
    transition-property: left top;
}

#sequence .animate-in .sky {
    left: 0%;
    opacity: 1;
    top: 0;
    z-index: 1;
    transition-duration: 4s;
}

#sequence .animate-out .sky {
    left: 6%;
    opacity: 0;
    top: 0;
    z-index: 1;
    transition-duration: 4s;
}

#sequence .kite {
  left: -30%;
  opacity: 0;
  max-width: 40%;
  top: 300px;
  z-index: 6;
  transform-origin: 100%;
  transition-property: left top transform;
}

#sequence .animate-in .kite {
  left: -15%;
  top: 300px;
  opacity: 1;
  z-index: 4;
  transform-origin: 100%;
  transform: rotate(80deg);
  transition-duration: 4s;
}

#sequence .animate-out .kite {
  left: -15%;
  opacity: 0;
  top: 300px;
  z-index: 2;
  transform-origin: 100%;
  transform: rotate(200deg);
  transition-duration: 3s;
}

#sequence .sequence-fallback .animate-in .kite {
  left: 20%;
  top: 200px;
}
JS
$(document).ready(function(){
    var options = {
        autoPlay: true,
        nextButton: true,
        prevButton: true,
        preloader: true,
        navigationSkip: false
    };
    var sequence = $("#sequence").sequence(options).data("sequence");

    sequence.afterLoaded = function(){
        $(".sequence-prev, .sequence-next").fadeIn(500);
    }
});

Description

A responsive slider theme powered by Sequence.js v1, transitions created entirely via CSS3. Grab this theme or many others from http://sequencejs.com/
Term
Mon, 11/27/2017 - 22:23

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv