Moveable 8-bit

Size
2,063 Kb
Views
6,072

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 Previews

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);
});
Moveable 8-bit - Script Codes
Moveable 8-bit - Script Codes
Home Page Home
Developer Jerusha Johnson
Username bonzaipenguin
Uploaded October 22, 2022
Rating 3
Size 2,063 Kb
Views 6,072
Do you need developer help for Moveable 8-bit?

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!

Jerusha Johnson (bonzaipenguin) Script Codes
Create amazing SEO content 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!