Css3D Wall
How do I make an css3d wall?
What is a css3d wall? How do you make a css3d wall? This script and codes were developed by Gianluca Guarini on 04 November 2022, Friday.
Css3D Wall - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Css3D Wall</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> <div class="container"> <ul> <li><div>C</div></li> <li><div>S</div></li> <li><div>S</div></li> <li><div>3</div></li> <li><div>3</div></li> <li><div>D</div></li> <li><div>I</div></li> <li><div>S</div></li> <li><div>C</div></li> <li><div>O</div></li> <li><div>O</div></li> <li><div>L</div></li> </ul>
</div> <script src='https://code.jquery.com/jquery-1.8.0.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Css3D Wall - Script Codes CSS Codes
html { height:100%; background:-webkit-gradient(radial, 50% 50%, 0, 50% 50%, 960, from(#f700dd), to(#7c006f)) no-repeat #7c006f; background: -moz-radial-gradient(50% 50% 0deg,ellipse farthest-corner, #f700dd, #7c006f, #7c006f 170%); -webkit-user-select: none; cursor:move;
}
body { margin:0;
}
ul, li { margin:0; list-style:none; float:left;
}
ul{ -webkit-transform-style: preserve-3d; -moz-transform-style: preserve-3d; -o-transform-style: preserve-3d; -ms-transform-style: preserve-3d; transform-style: preserve-3d; }
li { margin: 10px 15px ; width:150px; height:90px; background:-webkit-gradient(radial, 50% 50%, 0, 50% 50%, 50, from(rgba(0,0,0,0.2)), to(transparent)) no-repeat rgba(255,255,255,0.1); background: -moz-radial-gradient(50% 50% 0deg,ellipse farthest-corner,rgba(0,0,0,0.2) , transparent, transparent 100%), rgba(255,255,255,0.1); -webkit-user-select: none; border-top:1px solid rgba(255,255,255, 0.6); border-right:1px solid rgba(255,255,255, 0.3); border-bottom:1px solid rgba(255,255,255, 0.2); border-left:1px solid rgba(255,255,255, 0.1); color:#FFF; text-align:center; padding:20px 0; font: 70px "Arial Black", Gadget, sans-serif;
}
ul li div { transform:translateZ(70px); -ms-transform:translateZ(70px); /* IE9 */ -moz-transform:translateZ(70px); /* Firefox */ -webkit-transform:translateZ(70px); /* Safari and Chrome */ -o-transform:translateZ(70px);/* Opera */ position:absolute; width:150px; }
.container { width:820px; margin:50px auto; position:relative;
}
Css3D Wall - Script Codes JS Codes
var mouseX = null, mouseY = null, rotationLeftRight = null, rotationTopBottom = null, centerX = null, centerY = null, agleRotation = null; $('html').mousemove(function(e){ centerX = $(this).width() / 2 ; centerY = $(this).height() / 2; mouseX = (e.pageX - this.offsetLeft) - centerX; mouseY = (e.pageY - this.offsetTop) - centerY; rotationLeftRight = mouseX; rotationTopBottom = mouseY; agleRotation = (Math.abs(rotationTopBottom) + Math.abs((rotationLeftRight))) / 10; $('ul').css({ transform: "rotate3d("+rotationTopBottom +", "+rotationLeftRight+", "+0+", "+agleRotation+"deg)" }); })
Developer | Gianluca Guarini |
Username | GianlucaGuarini |
Uploaded | November 04, 2022 |
Rating | 3 |
Size | 2,441 Kb |
Views | 16,192 |
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 |
The Dark Loop | 4,130 Kb |
A Pen by Gianluca Guarini | 1,949 Kb |
Find your mouse cursor | 3,687 Kb |
The Milk Glass | 26,300 Kb |
The Fly | 3,405 Kb |
The Best Flash Site Ever | 2,609 Kb |
Full screen menu | 3,702 Kb |
Threejs-amd-bootstrap | 1,555 Kb |
Drunk on Google Maps | 2,241 Kb |
Mario Bros | 4,332 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 |
JS Countdown Timer | Ayoungh | 2,435 Kb |
Isometric css island | Xaddict | 2,950 Kb |
RequestAnimationFrame | Martin-banks | 2,541 Kb |
A form arranged using automatic placement. | Vikasford | 2,103 Kb |
Expert Help | SinceSidSlid | 4,064 Kb |
Rainbow Drops | Csbarnes | 2,365 Kb |
JQuery Validate checkbox group | Lunaman | 2,466 Kb |
Tumblr API | Juanv911 | 2,436 Kb |
Minimal Menu | Achudars | 3,430 Kb |
Testimonial Fancy tabs responsive | Amit-webdesigner | 3,056 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!