Moveable 8-bit
How do I make an moveable 8-bit?
What is a moveable 8-bit? How do you make a moveable 8-bit? This script and codes were developed by Jerusha Johnson on 22 October 2022, Saturday.
Moveable 8-bit - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Moveable 8-bit</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <section class="panel"> <div class="grid"></div>
</section> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Moveable 8-bit - Script Codes CSS Codes
html { background-color:#FF6103; width:100%; height:100%;
}
body{ display: -webkit-box; display: -moz-box; display: -ms-box; display: box; -webkit-box-align: center; -moz-box-align: center; -ms-box-align: center; box-align: center; -webkit-box-pack: center; -moz-box-pack: center; -ms-box-pack: center; box-pack: center; height: 100%; width: 100%;
}
.panel { width:40%;
}
.block { float:left; background-position: center center; background-attachment: fixed; width: 30px; height: 30px;
}
Moveable 8-bit - Script Codes JS Codes
var objNum = 350;
var initScale = 50;
var scales = [20,15,10,5,3,2,1,0,-9,-8,-7,-5];
for (i=0; i<objNum; i++) { $block = $('<div class="block"></div>'); $('.grid').append($block);
}
function setImage(obj,img,s) { obj.css({'background-image':'url('+img+')'}); obj.css({'background-size':s+'%'});
}
$('.block').each(function(){ var scale = scales[Math.floor(Math.random()*scales.length)]; setImage($(this),'http://www.jerushajohnson.com/me/jjohnson.png',initScale+scale);
});
Developer | Jerusha Johnson |
Username | bonzaipenguin |
Uploaded | October 22, 2022 |
Rating | 3 |
Size | 2,063 Kb |
Views | 6,072 |
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 |
TBI Thank You | 2,550 Kb |
Phone-esque Accordian | 2,398 Kb |
Medium-esque v2.0 | 2,335 Kb |
Parallax Scroll 2.0 | 2,393 Kb |
Mobile Calendar Test | 3,456 Kb |
Project Showcase Idea | 2,741 Kb |
Text Shadow Experiment | 2,593 Kb |
Photo Week Bug | 1,926 Kb |
Slide animation | 2,281 Kb |
Engagement | 3,026 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 |
Cant get enough icecream in pure css3 | Melawire | 4,322 Kb |
Simple Carousel Pure CSS | Dangvanthanh | 4,080 Kb |
NT Tribute | Skybutterfly | 2,850 Kb |
Sticky Navbar | Phantomesse | 5,106 Kb |
Responsive Menu I | Rodericksandoval | 3,045 Kb |
RWD Conversion Practice | Jxqr97 | 2,743 Kb |
CSS Infinite 360 | APinix | 5,564 Kb |
Scroll to top button | DominicFrancois | 3,743 Kb |
Cut and Paste Roll Link | BottomlineInteractive | 2,546 Kb |
Zip Button test | Lje7462 | 1,932 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!