Minecraft block
How do I make an minecraft block?
What is a minecraft block? How do you make a minecraft block? This script and codes were developed by David Hartley on 18 November 2022, Friday.
Minecraft block - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Minecraft block</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ h1 { font-family: sans-serif; font-weight: bold; font-size: 3em; padding: 10px; text-transform: uppercase; text-align: center;
}
.camera { position: absolute; width: 100%; top: 50%; transform: translateY(-50%); perspective: 600px; perspective-origin: 50% 150px;
}
.camera .cube { position: relative; margin: 0 auto; width: 300px; height: 300px; transform-style: preserve-3d; animation: rotate 5s linear infinite;
}
.camera .cube .pixel { position: absolute; width: 0; height: 0; margin: 150px; box-shadow: 0 0 0 0 #000, 0 0 0 0 #000, -120px -120px 0 30px #E400E4, -60px -120px 0 30px black, 0px -120px 0 30px #E400E4, 60px -120px 0 30px black, 120px -120px 0 30px #E400E4, 0 0 0 0 #000, -120px -60px 0 30px black, -60px -60px 0 30px #E400E4, 0px -60px 0 30px black, 60px -60px 0 30px #E400E4, 120px -60px 0 30px black, 0 0 0 0 #000, -120px 0px 0 30px #E400E4, -60px 0px 0 30px black, 0px 0px 0 30px #E400E4, 60px 0px 0 30px black, 120px 0px 0 30px #E400E4, 0 0 0 0 #000, -120px 60px 0 30px black, -60px 60px 0 30px #E400E4, 0px 60px 0 30px black, 60px 60px 0 30px #E400E4, 120px 60px 0 30px black, 0 0 0 0 #000, -120px 120px 0 30px #E400E4, -60px 120px 0 30px black, 0px 120px 0 30px #E400E4, 60px 120px 0 30px black, 120px 120px 0 30px #E400E4;
}
.camera .cube .top { transform: rotateX(90deg) translateZ(150px);
}
.camera .cube .front { transform: translateZ(150px);
}
.camera .cube .right { transform: rotateY(90deg) translateZ(150px);
}
.camera .cube .back { transform: rotateY(180deg) translateZ(150px);
}
.camera .cube .left { transform: rotateY(-90deg) translateZ(150px);
}
.camera .cube .bottom { transform: rotateX(-90deg) rotate(180deg) translateZ(150px);
}
@keyframes rotate { 0% { transform: rotateX(0) rotateY(0); } 100% { transform: rotateX(-360deg) rotateY(-360deg); }
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <h1>Using box shadows!</h1>
<div class='camera'> <div class='cube'> <div class='pixel back'></div> <div class='pixel top'></div> <div class='pixel right'></div> <div class='pixel left'></div> <div class='pixel bottom'></div> <div class='pixel front'></div> </div>
</div>
</body>
</html>
Minecraft block - Script Codes CSS Codes
h1 { font-family: sans-serif; font-weight: bold; font-size: 3em; padding: 10px; text-transform: uppercase; text-align: center;
}
.camera { position: absolute; width: 100%; top: 50%; transform: translateY(-50%); perspective: 600px; perspective-origin: 50% 150px;
}
.camera .cube { position: relative; margin: 0 auto; width: 300px; height: 300px; transform-style: preserve-3d; animation: rotate 5s linear infinite;
}
.camera .cube .pixel { position: absolute; width: 0; height: 0; margin: 150px; box-shadow: 0 0 0 0 #000, 0 0 0 0 #000, -120px -120px 0 30px #E400E4, -60px -120px 0 30px black, 0px -120px 0 30px #E400E4, 60px -120px 0 30px black, 120px -120px 0 30px #E400E4, 0 0 0 0 #000, -120px -60px 0 30px black, -60px -60px 0 30px #E400E4, 0px -60px 0 30px black, 60px -60px 0 30px #E400E4, 120px -60px 0 30px black, 0 0 0 0 #000, -120px 0px 0 30px #E400E4, -60px 0px 0 30px black, 0px 0px 0 30px #E400E4, 60px 0px 0 30px black, 120px 0px 0 30px #E400E4, 0 0 0 0 #000, -120px 60px 0 30px black, -60px 60px 0 30px #E400E4, 0px 60px 0 30px black, 60px 60px 0 30px #E400E4, 120px 60px 0 30px black, 0 0 0 0 #000, -120px 120px 0 30px #E400E4, -60px 120px 0 30px black, 0px 120px 0 30px #E400E4, 60px 120px 0 30px black, 120px 120px 0 30px #E400E4;
}
.camera .cube .top { transform: rotateX(90deg) translateZ(150px);
}
.camera .cube .front { transform: translateZ(150px);
}
.camera .cube .right { transform: rotateY(90deg) translateZ(150px);
}
.camera .cube .back { transform: rotateY(180deg) translateZ(150px);
}
.camera .cube .left { transform: rotateY(-90deg) translateZ(150px);
}
.camera .cube .bottom { transform: rotateX(-90deg) rotate(180deg) translateZ(150px);
}
@keyframes rotate { 0% { transform: rotateX(0) rotateY(0); } 100% { transform: rotateX(-360deg) rotateY(-360deg); }
}
Developer | David Hartley |
Username | davidhartley |
Uploaded | November 18, 2022 |
Rating | 3 |
Size | 3,595 Kb |
Views | 14,168 |
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 |
PixiJS Shaders | 2,901 Kb |
Spiky Bubbles | 2,485 Kb |
Overlaying images | 4,480 Kb |
Samsung S5 | 5,553 Kb |
Fire Emitter | 3,155 Kb |
PIXI v4 ShaderToy Compilation | 53,283 Kb |
Pixi.js Clouds Shader | 3,491 Kb |
Generative Art | 2,624 Kb |
A Pen by David Hartley | 1,830 Kb |
Paint Flick | 4,193 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 |
RollOver Effect 2 | Lmack90 | 2,162 Kb |
Placeholder support for contentEditable elements, without JavaScript | Flesler | 1,863 Kb |
Zip Button test | Lje7462 | 1,932 Kb |
CSS Link Icons with jQuery Titles | Nicwinn | 2,312 Kb |
Process Accordion | Devilskitchen | 31,432 Kb |
Week7 replicate | Hwcasis | 1,620 Kb |
CSS Heart Loaders | Nourabusoud | 2,161 Kb |
Website Concept | Sagoza | 3,104 Kb |
SVG Animation | Pollardld | 3,133 Kb |
A Pen by Jess | Jessamyne | 5,100 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!