Full page scroll-over with ScrollMagic
How do I make an full page scroll-over with scrollmagic?
WIP. What is a full page scroll-over with scrollmagic? How do you make a full page scroll-over with scrollmagic? This script and codes were developed by Ross B on 24 November 2022, Thursday.
Full page scroll-over with ScrollMagic - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Full page scroll-over with ScrollMagic</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <section class="first"> <h2>Terminally Trees</h2> <img src="http://grist.files.wordpress.com/2012/11/sideways_tree.jpeg" alt="" height="100%"/>
</section>
<section class="second"> <h2>Doubtful Dog</h2> <img src="https://i.imgur.com/s0DEL3U.jpg" height="100%"/>
</section>
<section class="third"> <h2>Crappy Kitten</h2> <img src="https://i.imgur.com/DCZfs28.jpg" height="100%"/>
</section>
<section class="fourth"> <h2>Stupid Cereal</h2> <img src="https://i.imgur.com/AO3s6K9.jpg" height="100%"/>
</section>
<section class="fifth"> <h2>Where are dogs?</h2> <h3>how to turn on internet.</h3>
</section> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/1.12.1/TweenMax.min.js'></script>
<script src='https://rawgit.com/janpaepke/ScrollMagic/master/js/jquery.scrollmagic.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Full page scroll-over with ScrollMagic - Script Codes CSS Codes
html,
body { height: 100%; margin: 0;
}
h2 { margin: 0; padding: 20px;
}
section { text-align: center; width: 100%; height: 100%; top: 0; position: relative;
}
section .content { position: absolute; width: 100%; height: 100%;
}
section.first { background-color: #ff7f50;
}
section.second { background-color: #90ee90;
}
section.third { background-color: #add8e6;
}
section.fourth { background-color: #ffff6e;
}
section.fifth { background-color: #3c3c3c; color: #fff;
}
Full page scroll-over with ScrollMagic - Script Codes JS Codes
(function() { var controller; controller = new ScrollMagic(); $('section').each(function() { return new ScrollScene({ triggerElement: this, triggerHook: 0 }).setPin(this).addTo(controller); });
}).call(this);
Developer | Ross B |
Username | rocbear |
Uploaded | November 24, 2022 |
Rating | 3 |
Size | 2,752 Kb |
Views | 32,384 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Spear checkboxes | 3,682 Kb |
Canvas blend modes | 4,640 Kb |
Responsive grid based FLIP.js demo | 3,883 Kb |
A Pen by Ross B | 3,715 Kb |
Plane vertex manipulation experiment | 4,363 Kb |
Wobbly list | 5,672 Kb |
Torus light track | 4,909 Kb |
Full page scroll-over with Skrollr | 2,633 Kb |
Hovergram | 2,505 Kb |
Loading animation - freedom purchase | 2,567 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Em Test | Rodesco | 1,784 Kb |
Twitch TV | Natester13 | 4,488 Kb |
Find The Penguin | Lelder | 2,212 Kb |
Sencha Touch 2.3.1 Basic Grid Example | Trozdol | 2,770 Kb |
LBCA - Mail canvas | Emnbdx | 3,856 Kb |
BlueBox Fork | Huskynation | 12,675 Kb |
Responsive Table-less Shopping Cart | Alex_rodrigues | 6,637 Kb |
Preloader | Rikki_Sixx | 2,815 Kb |
CSS3 Animated buttons | Cguillou | 3,737 Kb |
My Interests | Anshusaxenaarora | 2,015 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!