GSS Transitions

Developer
Size
2,097 Kb
Views
32,384

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 Previews

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;
}
GSS Transitions - Script Codes
GSS Transitions - Script Codes
Home Page Home
Developer Andy Merskin
Username andymerskin
Uploaded August 10, 2022
Rating 3
Size 2,097 Kb
Views 32,384
Do you need developer help for GSS Transitions?

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!

Andy Merskin (andymerskin) Script Codes
Create amazing blog posts with AI!

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!