Polo, the flying squirrel

Developer
Size
2,445 Kb
Views
30,360

How do I make an polo, the flying squirrel?

Meet Polo! If you're in trouble, he's got your back.(Hover animation!). What is a polo, the flying squirrel? How do you make a polo, the flying squirrel? This script and codes were developed by Andrew Bales on 03 October 2022, Monday.

Polo, the flying squirrel Previews

Polo, the flying squirrel - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Polo, the flying squirrel</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="circle"> <div class="title"> <h2>Hang Tight!</h2> <h3>Polo will save you...</h3> </div> <div class="viewport"> <div class="img-layer"> <img src="https://40.media.tumblr.com/162cc3dfa5cef6c882aba5453445f0fb/tumblr_mx3y1yYFad1qcm0eto1_1280.png"> </div> <div class="img-layer"> <img src="#"> </div> <div class="img-layer"> <img src="http://www.wildlife-animals.com/clipart/squirrel-9.png"> </div> </div> <div class="shadow"></div> </div>
</div> <script src="js/index.js"></script>
</body>
</html>

Polo, the flying squirrel - Script Codes CSS Codes

@import url(https://fonts.googleapis.com/css?family=Bitter:700,400);
* { box-sizing: border-box;
}
body { font-family: 'Bitter', serif; font-size: 1.5em;
}
/*-- Container -- */
.container { position: relative; display: inline-block; margin: 300px 100px; height: 100%;
}
.circle { position: absolute; left: 0; right: 0; margin: auto; top: 50%; width: 200px; -webkit-transform: translateY(-50%); transform: translateY(-50%); -webkit-transition: all .5s; transition: all .5s;
}
.circle:hover .shadow { -webkit-transform: scale(1.1); transform: scale(1.1); top: -20px;
}
.viewport { background: #B0D5D6; overflow: hidden; margin: auto; width: 800px; border-radius: 20px; z-index: 1; -webkit-transition: all .3s; transition: all .3s; height: 400px; position: relative;
}
.viewport:hover { -webkit-transform: scale(1.1); transform: scale(1.1);
}
.shadow { width: 800px; box-shadow: 0px 31px 19px -2px #E0E8F9; height: 20px; border-radius: 70%; position: relative; top: -44px; -webkit-transition: all .3s; transition: all .3s; z-index: 0;
}
/*--- IMG --- */
.img-layer { -webkit-transition: all .4s; transition: all .4s; position: absolute; top: 0; left: 0;
}
.circle .img-layer:nth-of-type(1) { top: 0; left: 0;
}
.circle .img-layer:nth-of-type(2) { top: 0px; left: -210px;
}
.circle .img-layer:nth-of-type(3) { top: 0px; left: -550px; -webkit-transform: scale(1.1); transform: scale(1.1);
}
/* ... hover */
.viewport:hover .img-layer:nth-of-type(1) { left: -100px; -webkit-transition: all 5s linear; transition: all 5s linear;
}
.viewport:hover .img-layer:nth-of-type(2) { left: -400px; -webkit-transition: all 5s linear; transition: all 5s linear;
}
.viewport:hover .img-layer:nth-of-type(3) { left: 840px; -webkit-transition: all 5s linear; transition: all 5s linear;
}
/*--- TEXT --- */
h2, h3 { opacity: 0; color: #181818; margin: 0px; -webkit-transition: all .2s .04s; transition: all .2s .04s; position: relative; top: -20px;
}
h3 { -webkit-transition: all .2s; transition: all .2s; color: #674172;
}
.title { width: 800px; text-align: center;
}
.circle:hover h2, .circle:hover h3 { opacity: 1; top: -30px;
}
.circle:hover h3 { -webkit-transition: all .2s .04s; transition: all .2s .04s;
}
.circle:hover h2 { -webkit-transition: all .2s; transition: all .2s;
}

Polo, the flying squirrel - Script Codes JS Codes

// Give Polo a hover!
Polo, the flying squirrel - Script Codes
Polo, the flying squirrel - Script Codes
Home Page Home
Developer Andrew Bales
Username agbales
Uploaded October 03, 2022
Rating 3.5
Size 2,445 Kb
Views 30,360
Do you need developer help for Polo, the flying squirrel?

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!

Andrew Bales (agbales) Script Codes
Create amazing art & images 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!