fullscreen split card slider parallax - Download Fullscreen Split Card Slider With Parallax Effect - ContentSlider

Download Fullscreen Split Card Slider With Parallax Effect – ContentSlider

Posted on

This time I will share jQuery Plugin and tutorial about Fullscreen Split Card Slider With Parallax Effect – ContentSlider, hope it will help you in programming stack.

fullscreen split card slider parallax - Download Fullscreen Split Card Slider With Parallax Effect - ContentSlider
File Size: 4.67 MB
Views Total: 2764
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

An awesome, responsive, vertical, fullscreen split slider which enables the user to slide through contents with a parallax scrolling effect.

Based on jQuery, CSS3 and GSAP’s TweenMax.js library.

How to use it:

1. Add slides to the card slider as follows:

01 <div class="slide active">
02   <div class="card">
03     <div class="card-img" id="img01"></div>
04       <div class="card-content">
05         <p class="card-theme">According to The Quote Verifier: Who Said What, Where, And When (2006)</p>
06         <h2 class="card-header">"If you can't stand the heat, get out of the kitchen."</h2>
07         <p class="card-para">by Eugene Purcell</p>
08         <a href="" class="card-link">Read</a>
09       </div>
10   </div>
11 </div>
12  
13 <div class="slide">
14   <div class="card">
15     <div class="card-img" id="img02"></div>
16       <div class="card-content">
17         <p class="card-theme">As quoted in Curiosities in proverbs, (1916) pg. 130</p>
18         <h2 class="card-header">"Never leave that till tomorrow which you can do today."</h2>
19         <p class="card-para">by Benjamin Franklin</p>
20         <a href="" class="card-link">Read</a>
21       </div>
22   </div>
23 </div>
24  
25 <div class="slide">
26   <div class="card">
27     <div class="card-img" id="img03"></div>
28       <div class="card-content">
29         <p class="card-theme">As quoted in How to Write a Book Proposal, (2011) pg. 19</p>
30         <h2 class="card-header">"Nothing is particularly hard if you divide it into small jobs."</h2>
31         <p class="card-para">by Henry Ford</p>
32         <a href="" class="card-link">Read</a>
33       </div>
34   </div>
35 </div>

2. Create prev/next buttons to slide through the slides.

1 <div class="prevnext">
2   <button class="pn-btn" id="prev"></button>
3   <button class="pn-btn" id="next"></button>
4 </div>

3. The main CSS for the card slider.

01 .slide{
02   display: flex;
03   justify-content: center;
04   align-items: center;
05   flex-wrap: wrap;
06   flex-direction: column;
07   width: 100%;
08   height: 100%;
09 }
10  
11 .card{
12   width: 100%;
13   height: 100vh;
14   display: flex;
15   background: #fff;
16 }
17  
18 .card-img{
19   background-position: center;
20   width: 50%;
21   height: 100%;
22   background-size: cover;
23   background-repeat: no-repeat;
24 }
25  
26 .card-content{
27   padding: 10% 5%;
28   box-sizing: border-box;
29   width: 50%;
30   background: #0A0A0A;
31 }
32  
33 .card-theme{
34   font-weight: 900;
35   font-size: 1.7vmin;
36   text-transform: uppercase;
37   font-family: Poppins;
38   letter-spacing: 10px;
39   color: grey;
40 }
41  
42 .card-header{
43   font-weight: 700;
44   font-size: 54px;
45   text-transform: capitalize;
46   line-height: 1;
source : jquery.net