GSS Transitions
How do I make an gss transitions?
What is a gss transitions? How do you make a gss transitions? This script and codes were developed by Andy Merskin on 10 August 2022, Wednesday.
GSS Transitions - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>GSS Transitions</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <style type="text/css"> html:not(.gss-ready) { opacity: 0; }
</style>
<noscript> <style type="text/css"> html:not(.gss-ready) { opacity: 1; } </style>
</noscript>
<div class="container"> <div class="box"></div> <div class="box"></div> <div class="box"></div> <div class="box"></div> <div class="box"></div> <div class="box"></div>
</div>
<style type="text/gss"> .container { width: == 960; height: == $containerHeight; center-x: == ::window[center-x]; center-y: == ::window[center-y]; .box { width: == ^width/6 - $innerGap; height: == ^height; center-y: == ^center-y; } } @h |-(.box)-...-| in(.container) gap($innerGap) outer-gap(0);
</style>
<script src="https://s3-us-west-2.amazonaws.com/cdn.thegrid.io/gss/v2.0.0/v2.0.0/gss.js"></script>
<script type="text/javascript"> GSS.document = new GSS(document, { boxSize: 100, containerHeight: 200, innerGap: 20, outerGap: 0 }); document.addEventListener("DOMContentLoaded", function() { }); var container = document.querySelector('.container'); container.addEventListener('mouseenter', function() { GSS.document.solve({ containerHeight: 400, innerGap: 60, outerGap: 0 }); }); container.addEventListener('mouseleave', function() { GSS.document.solve({ containerHeight: 200, innerGap: 20, outerGap: 0 }); });
</script>
</body>
</html>
GSS Transitions - Script Codes CSS Codes
.container { background-color: rgba(255, 0, 0, 0.1); transition: all 1s ease;
}
.box { background-color: rgba(0, 0, 255, 0.1); transition: all 1s ease;
}
Developer | Andy Merskin |
Username | andymerskin |
Uploaded | August 10, 2022 |
Rating | 3 |
Size | 2,097 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 |
SVG Stroke Drawing Effect on Focus | 2,399 Kb |
Table Row Peek | 3,107 Kb |
Wires Loading Animation | 3,813 Kb |
Vue.js Starter | 1,268 Kb |
Vue.js Recipe - Slideout Menu | 5,189 Kb |
Typtic for OSX - Night Mode | 3,443 Kb |
A Pen by Andy Merskin | 4,844 Kb |
SASS Easings | 2,426 Kb |
Parallax Depth Cards | 5,579 Kb |
Vue.js Intro Demo | 2,077 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 |
Scroll using CSS | Casperovic | 2,159 Kb |
Starfield old school style | Bolloxim | 5,214 Kb |
Subscription Newsletter - Before inlining | Bradstrong | 7,526 Kb |
Simple Login Form | JoshBlackwood | 4,418 Kb |
Simple personal profile | Miroot | 2,856 Kb |
Whyutils | LeYvan | 3,752 Kb |
Simple CSS loader. | Cabrera | 2,574 Kb |
Animated Donut Chart | Jplhomer | 3,808 Kb |
A Pen by Alex Bergin | Abergin | 3,347 Kb |
A Pen by Matt Popovich | Mpopv | 3,349 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!