CSS Translate Test
How do I make an css translate test?
What is a css translate test? How do you make a css translate test? This script and codes were developed by Truman Heberle on 30 September 2022, Friday.
CSS Translate Test - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Translate Test</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="origin" class="grass cube"> <div class="face top"></div> <div class="face bottom"></div> <div class="face front"></div> <div class="face back"></div> <div class="face left"></div> <div class="face right"></div>
</div>
</body>
</html>
CSS Translate Test - Script Codes CSS Codes
body { background: linear-gradient(to bottom, #cee7d4 0%, #f5f4c9 100%); background-repeat: no-repeat; background-attachment: fixed; overflow: hidden; perspective: 1000px;
}
.cube { position: relative; margin: calc(50vh - 100px/2) auto; width: 100px; height: 100px; transform-style: preserve-3d; transform: rotateX(-15deg) rotateY(45deg); transition: all .75s ease;
}
.face { width: 100px; height: 100px; position: absolute; box-sizing: border-box;
}
.face.top { transform: rotateY(180deg) rotateX(90deg) translate3d(0, 0, 50px);
}
.face.bottom { transform: rotateY(180deg) rotateX(90deg) translate3d(0, 0, -50px);
}
.face.front { transform: translate3d(0, 0, 50px);
}
.face.back { transform: translate3d(0, 0, -50px);
}
.face.left { transform: rotateY(90deg) translate3d(0, 0, -50px);
}
.face.right { transform: rotateY(90deg) translate3d(0, 0, 50px);
}
.grass .back { background: radial-gradient(#00ffff, #800080); background-size: 100% 100%;
}
.grass .front { background: radial-gradient(#00ffff, #800080); background-size: 100% 100%;
}
.grass .left { background: radial-gradient(#00ffff, #800080); background-size: 100% 100%;
}
.grass .right { background: radial-gradient(#00ffff, #800080); background-size: 100% 100%;
}
.grass .top { background: radial-gradient(#00ffff, #800080); background-size: 100% 100%;
}
.grass .bottom { background: radial-gradient(#00ffff, #800080); background-size: 100% 100%; text-align: center;
}
#origin { -webkit-animation-name: spin; -webkit-animation-duration: 5s; animation-name: spin; animation-duration: 5s; animation-iteration-count: infinite; -webkit-animation-iteration-count: infinite; -webkit-animation-timing-function: linear; animation-timing-function: linear;
}
@keyframes spin { 0% { transform: rotateX(-3deg) rotateY(0deg) rotateZ(0deg); } 12% { transform: rotateX(-10deg) rotateY(12deg) rotateZ(5deg); } 25% { transform: rotateX(25deg) rotateY(123deg) rotateZ(15deg); } 37% { transform: rotateX(7deg) rotateY(72deg) rotateZ(-32deg); } 50% { transform: rotateX(-10deg) rotateY(180deg) rotateZ(-123deg); } 62% { transform: rotateX(-3deg) rotateY(87deg) rotateZ(-32deg); } 75% { transform: rotateX(-12deg) rotateY(-23deg) rotateZ(72deg); } 87% { transform: rotateX(-32deg) rotateY(-12deg) rotateZ(23deg); } 100% { transform: rotateX(-3deg) rotateY(0deg) rotateZ(0deg); }
}
Developer | Truman Heberle |
Username | trumanheberle |
Uploaded | September 30, 2022 |
Rating | 3 |
Size | 2,796 Kb |
Views | 24,288 |
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 |
Liquid | 2,653 Kb |
Cover Generator | 5,713 Kb |
Minecraft Loader | 3,501 Kb |
Minecraft Chunk Generator | 5,306 Kb |
GremRX V2 Noisy | 5,276 Kb |
Profile 2 | 6,352 Kb |
Rubix Cube Basic | 4,480 Kb |
Orbitals | 3,148 Kb |
Glow Text | 3,084 Kb |
Digit Recognizer | 3,623 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 |
Right Click Menu | Anodpixels | 2,252 Kb |
Popover | Teles | 2,248 Kb |
Horizontal Navigation with Floats | Gymratpacks | 5,403 Kb |
Formations | Cantelope | 5,731 Kb |
A form arranged using automatic placement. | Vikasford | 2,103 Kb |
After America | Jonathangarner | 2,686 Kb |
Count checked checkboxes with jQuery | Mestika | 2,343 Kb |
SVG Scalable Text | Said_FD | 1,451 Kb |
Vanilla modal window | Jasonhowmans | 3,554 Kb |
Resize image | Happyhj | 1,892 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!