hindi लिंक बदलये चाचा
Answers
Explanation:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSS3 3d rotating cube animation</title>
<style>
body{
background: #ddd;
}
#wrapper {
position: absolute;
left: 50%;
top: 50%;
perspective: 1500px;
}
.box-area {
position: relative;
transform-style: preserve-3d;
animation-name: rotate;
animation-duration: 30s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
@keyframes rotate {
0% {
transform: rotate3d(0, 0, 0, 0);
}
100% {
transform: rotate3d(0, 1, 0, 360deg);
;
}
}
.box {
position: absolute;
width: 400px;
height: 400px;
border: 2px solid #262626;
}
#box-front {
transform: translateX(-200px) translateY(-200px) translateZ(200px);
background: rgba(255, 16, 107, 0.5);
}
#box-back {
transform: translateX(-200px) translateY(-200px) translateZ(-200px);
background: rgba(1, 251, 236, 0.5);
}
#box-right {
transform: translateY(-200px) rotateY(90deg);
background: rgba(4, 255, 116, 0.5);
}
#box-left {
transform: translateY(-200px) translateX(-400px) rotateY(90deg);
background: rgba(216, 255, 0, 0.5);
}
#box-top {
transform: translateX(-200px) translateY(-400px) rotateX(90deg);
background: rgba(0, 6, 246, 0.5);
}
#box-bottom {
transform: translateX(-200px) rotateX(90deg);
background: rgba(255, 30, 0, 0.5);
}
.box-area {
transform: rotateX(90deg) rotateY(90deg);
}
</style>
</head>
<body>
<div id="wrapper">
<div class="box-area">
<div id="box-front" class="box"></div>
<div id="box-right" class="box"></div>
<div id="box-back" class="box"></div>
<div id="box-left" class="box"></div>
<div id="box-top" class="box"></div>
<div id="box-bottom" class="box"></div>
</div>
</div>
</body>
</html>
...
(
General Info
TypeHTML
Size2 KB
Modified17:20 29 Jul 2019
Created17:20 29 Jul 2019
Opened by me17:10 3 Aug
Sharing
Anyone with the link
Can View
Divinector
Owner
Description
No description
Download Permission
Viewers can download
Displaying CSS3 3d rotating cube animation.html.
Answer:
चाची
Please mark me as brainliest