Square Friends Dropping By

Developer
Size
2,337 Kb
Views
24,288

How do I make an square friends dropping by?

Playing with randoms. What is a square friends dropping by? How do you make a square friends dropping by? This script and codes were developed by Eprouver on 15 September 2022, Thursday.

Square Friends Dropping By Previews

Square Friends Dropping By - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Square Friends Dropping By</title> <link rel='stylesheet prefetch' href='http://cdnjs.cloudflare.com/ajax/libs/animate.css/3.2.3/animate.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="holder">
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Square Friends Dropping By - Script Codes CSS Codes

*{ margin: 0; padding: 0;
}
html{ font-size: 5vmin;
}
body{ background: #FFDC00; overflow:hidden;
}
.animated{ -webkit-animation-duration: 3s !important;
}
.step{ height: 12rem; width: 6rem; border: 0.6rem solid white; position:absolute; margin-top: -6vh; margin-left: -3vw; border-top-right-radius: 2rem;
}
.step:before{ content: '⊙‿⊙'; font-size: 2.5rem; font-weight: bold; color:white; position:relative; top: 1rem;
}
.holder{ height: 100vh; width: 100vw; overflow:hidden; position:absolute; transform-style: preserve3d; perspective: 200px;
}

Square Friends Dropping By - Script Codes JS Codes

var x = window.innerWidth / 2;
var y = window.innerHeight / 2;
var colors = ['#0074D9', '#01FF70','#B10DC9', '#FF851B', '#39CCCC'];
var classes= [ 'bounceInLeft', 'bounceInRight', 'bounceIn', 'bounceInUp', 'bounceInDown'
];
function add(){ for(var i = 0; i < 0.85; i = Math.random()){ $('.holder').append($('<div class="step animated">').addClass( classes[~~(Math.random() * classes.length)]).css({ top: y, left: x, background: colors[~~(Math.random() * colors.length)] }).one('webkitAnimationEnd animationend', function(){ var self = $(this); self.attr('class', 'step'); setTimeout(function(){ self.addClass('animated zoomOut').one('webkitAnimationEnd animationend', function(){ self.remove(); self = null; }); }, 1) })); x = Math.random() * window.innerWidth; y = Math.random() * window.innerHeight; }
}
add();
setInterval(add,3000)
Square Friends Dropping By - Script Codes
Square Friends Dropping By - Script Codes
Home Page Home
Developer Eprouver
Username eprouver
Uploaded September 15, 2022
Rating 3.5
Size 2,337 Kb
Views 24,288
Do you need developer help for Square Friends Dropping By?

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!

Eprouver (eprouver) 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!