Math, asked by raghavambala, 9 months ago

please answer fast.
please put numberings according to question.​

Attachments:

Answers

Answered by adeeladilu2
5

ill give u a coding ....

jst change [tx] into [tex] at the starting

and at the bottom

[tx]<!DOCTYPE html>

<html lang="en">

<head>

<title>CUBE</title>

</head>

<body>

<div class="container">

<div id="cube">

<div class="front">hope</div>

<div class="back">it</div>

<div class="right">helps</div>

<div class="left">you</div>

<div class="top"></div>

<div class="bottom"></div>

</div>

</div>

<style>

body {

padding-left: 30%;

padding-top: 5%;

}

.container {

width: 200px;

height: 200px;

position: relative;

-webkit-perspective: 1000px;

-moz-perspective: 1000px;

}

#cube {

width: 100%;

height: 100%;

position: absolute;

-webkit-transform-style: preserve-3d;

-webkit-animation: rotatecube 10s infinite;

-moz-transform-style: preserve-3d;

-moz-animation: rotatecube 10s infinite;

}

#cube div {

width: 200px;

height: 200px;

display: block;

position: absolute;

border: none;

line-height: 200px;

text-align: center;

font-size: 50px;

font-weight: bold;

}

@-webkit-keyframes rotatecube {

0% { -webkit-transform: rotateX(0deg) rotateY(360deg) rotateZ(90deg); }

25% { -webkit-transform: rotateX(90deg) rotateY(270deg) rotateZ(180deg); }

50% { -webkit-transform: rotateX(180deg) rotateY(180deg) rotateZ(0deg); }

75% { -webkit-transform: rotateX(270deg) rotateY(90deg) rotateZ(360deg); }

100% { -webkit-transform: rotateX(360deg) rotateY(0deg) rotateZ(270deg); }

}

@-moz-keyframes rotatecube {

0% { -moz-transform: rotateX(0deg) rotateY(360deg) rotateZ(90deg); }

25% { -moz-transform: rotateX(90deg) rotateY(270deg) rotateZ(180deg); }

50% { -moz-transform: rotateX(180deg) rotateY(180deg) rotateZ(0deg); }

75% { -moz-transform: rotateX(270deg) rotateY(90deg) rotateZ(360deg); }

100% { -moz-transform: rotateX(360deg) rotateY(0deg) rotateZ(270deg); }

}

.front {

background: rgba(255,0,0,.5);

}

.back {

background: rgba(0,255,0,.5);

}

.right {

background: rgba(0,0,255,.5);

}

.left {

background: rgba(0,255,255,.5);

}

.top {

background: rgba(255,0,255,.5);

}

.bottom {

background: rgba(255,255,0,.5);

}

#cube .front {

-webkit-transform: rotateY(0deg ) translateZ( 100px );

-moz-transform: rotateY( 0deg ) translateZ( 100px );

}

#cube .back {

-webkit-transform: rotateX( 180deg ) translateZ( 100px );

-moz-transform: rotateX( 180deg ) translateZ( 100px );

}

#cube .right {

-webkit-transform: rotateY( 90deg ) translateZ( 100px );

-moz-transform: rotateY( 90deg ) translateZ( 100px );

}

#cube .left {

-webkit-transform: rotateY( -90deg ) translateZ( 100px );

-moz-transform: rotateY( -90deg ) translateZ( 100px );

}

#cube .top {

-webkit-transform: rotateX( 90deg ) translateZ( 100px );

-moz-transform: rotateX( 90deg ) translateZ( 100px );

}

#cube .bottom {

-webkit-transform: rotateX( -90deg ) translateZ( 100px );

-moz-transform: rotateX( -90deg ) translateZ( 100px );

}

</style>

</body>

</html>[/tx]

Answered by yoyoraghavgera
3

&lt;!DOCTYPE html&gt;</p><p></p><p>&lt;html lang="en"&gt;</p><p></p><p>&lt;head&gt;</p><p></p><p>&lt;title&gt;Mickey Mouse&lt;/title&gt;</p><p></p><p>&lt;/head&gt;</p><p></p><p>&lt;body&gt;</p><p></p><p>&lt;div class="box"&gt;</p><p></p><p>&lt;div class="mouse mouse-lavender"&gt;&lt;/div&gt;</p><p></p><p>&lt;div class="mouse mouse-mint"&gt;&lt;/div&gt;</p><p></p><p>&lt;div class="mouse mouse-purple"&gt;&lt;/div&gt;</p><p></p><p>&lt;/div&gt;</p><p></p><p>&lt;style&gt;</p><p></p><p>body {</p><p></p><p>animation: background 3s infinite;</p><p></p><p>}</p><p></p><p>.box * {</p><p></p><p>position: absolute;</p><p></p><p>}</p><p></p><p>.box {</p><p></p><p>margin: 0 auto;</p><p></p><p>height: 300px;</p><p></p><p>width: 300px;</p><p></p><p>top: 50%;</p><p></p><p>transform: translateY(50%);</p><p></p><p>}</p><p></p><p>.mouse {</p><p></p><p>height: 100px;</p><p></p><p>width: 100px;</p><p></p><p>border-radius: 50%;</p><p></p><p>}</p><p></p><p>.mouse::before,</p><p></p><p>.mouse::after{</p><p></p><p>content: '';</p><p></p><p>position: absolute;</p><p></p><p>display: block;</p><p></p><p>height: 60px;</p><p></p><p>width: 60px;</p><p></p><p>border-radius: 50%;</p><p></p><p>}</p><p></p><p>.mouse::before {</p><p></p><p>top: -30%;</p><p></p><p>left: -30%;</p><p></p><p>}</p><p></p><p>.mouse::after {</p><p></p><p>top: -30%;</p><p></p><p>right: -30%;</p><p></p><p>}</p><p></p><p>.mouse-lavender {</p><p></p><p>background-color: #9b99ff;</p><p></p><p>top: 50%;</p><p></p><p>left: 0;</p><p></p><p>animation: beat 3s 1s infinite;</p><p></p><p>}</p><p></p><p>.mouse-lavender::before,</p><p></p><p>.mouse-lavender::after {</p><p></p><p>background-color: #9b99ff;</p><p></p><p>}</p><p></p><p>.mouse-mint {</p><p></p><p>background-color: #82fff3;</p><p></p><p>top: 50%;</p><p></p><p>right: 0;</p><p></p><p>animation: beat 3s 2s infinite;</p><p></p><p>}</p><p></p><p>.mouse-mint::before,</p><p></p><p>.mouse-mint::after {</p><p></p><p>background-color: #82fff3;</p><p></p><p>}</p><p></p><p>.mouse-purple {</p><p></p><p>background-color: #e682ff;</p><p></p><p>top: 0%;</p><p></p><p>left: 35%;</p><p></p><p>animation: beat 3s 3s infinite;</p><p></p><p>}</p><p></p><p>.mouse-purple::before,</p><p></p><p>.mouse-purple::after {</p><p></p><p>background-color: #e682ff;</p><p></p><p>}</p><p></p><p>@keyframes background2 {</p><p></p><p>0% {</p><p></p><p>background: #c3b8fc;</p><p></p><p>}</p><p></p><p>50% {</p><p></p><p>background: #ccfff6;</p><p></p><p>}</p><p></p><p>100% {</p><p></p><p>background: #feccff;</p><p></p><p>}</p><p></p><p>}</p><p></p><p>@keyframes beat {</p><p></p><p>0% {</p><p></p><p>transform: scale(1);</p><p></p><p>opacity: 1;</p><p></p><p>}</p><p></p><p>50% {</p><p></p><p>transform: scale(.6);</p><p></p><p>opacity: .6;</p><p></p><p>}</p><p></p><p>}</p><p></p><p>&lt;/style&gt;</p><p></p><p>&lt;/body&gt;</p><p></p><p>&lt;/html&gt;

Similar questions