Math, asked by Sandhyakuthe420890, 6 months ago

Simplity
S
3
100
+2+

- 0
10​

Answers

Answered by aishi2020
4

&lt;!DOCTYPE html&gt;</p><p></p><p>&lt;html&gt;</p><p></p><p>&lt;head&gt;</p><p></p><p>&lt;title&gt;CSS Heart Animation&lt;/title&gt;</p><p></p><p>&lt;style&gt;.back{</p><p></p><p>position:fixed;</p><p></p><p>margin:auto;</p><p></p><p>width:100%;</p><p></p><p>heart:100%;</p><p></p><p>top:0;</p><p></p><p>bottom:0;</p><p></p><p>left:0;</p><p></p><p>right:0;</p><p></p><p>padding:0;</p><p></p><p>background-color:white;</p><p></p><p>animation-name:back;</p><p></p><p>animation-duration:3s;</p><p></p><p>animation-iteration-count:infinite;</p><p></p><p>}</p><p></p><p>.heart{</p><p></p><p>background-color:pink;</p><p></p><p>margin:50% auto;</p><p></p><p>top:0;</p><p></p><p>bottom:0;</p><p></p><p>right:0;</p><p></p><p>left:0;</p><p></p><p>padding:0;</p><p></p><p>height:50px;</p><p></p><p>width:50px;</p><p></p><p>transform:rotate(-45deg);</p><p></p><p>animation-name:heart;</p><p></p><p>animation-duration:3s;</p><p></p><p>animation-timing-function:ease-out;</p><p></p><p>animation-iteration-count:infinite;</p><p></p><p>}</p><p></p><p>.heart:before,.heart:after{</p><p></p><p>background-color:pink;</p><p></p><p>position:absolute;</p><p></p><p>content:"";</p><p></p><p>width:50px;</p><p></p><p>height:50px;</p><p></p><p>border-radius:50%;</p><p></p><p>}</p><p></p><p>.heart:before{</p><p></p><p>left:25px;</p><p></p><p>}</p><p></p><p>.heart:after{</p><p></p><p>left:0;</p><p></p><p>top:-25px;</p><p></p><p>}</p><p></p><p>@keyframes heart{</p><p></p><p>0%{</p><p></p><p>transform:scale(1)rotate(-45deg);</p><p></p><p>}</p><p></p><p>50%{</p><p></p><p>transform:scale(0.6)rotate(-45deg);</p><p></p><p>}</p><p></p><p>}</p><p></p><p>@keyframes back{</p><p></p><p>0%{</p><p></p><p>background-color:white;</p><p></p><p>opacity:1;</p><p></p><p>}</p><p></p><p>50%{</p><p></p><p>background-color:#ff0099;</p><p></p><p>}</p><p></p><p>}&lt;/style&gt;</p><p></p><p>&lt;/head&gt;</p><p></p><p>&lt;body&gt;</p><p></p><p>&lt;div class="back"&gt;&lt;/div&gt;</p><p></p><p>&lt;div class="heart"&gt;&lt;/div&gt;</p><p></p><p>&lt;/body&gt;</p><p></p><p>&lt;/html&gt;

Answered by krishna02299
2

Answer:

&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;svg width="100%" height="300px"&gt;\ \textless \ br /\ \textgreater \ &lt;g id="R1" transform="translate(250 250)"&gt; \ \textless \ br /\ \textgreater \ &lt;ellipse rx="100" ry="0" opacity=".3"&gt;\ \textless \ br /\ \textgreater \ &lt;animateTransform attributeName="transform" type="rotate" dur="7s" from="0" to="360" repeatCount="indefinite" /&gt;\ \textless \ br /\ \textgreater \ &lt;animate attributeName="cx" dur="8s" values="-20; 220; -20" repeatCount="indefinite" /&gt;\ \textless \ br /\ \textgreater \ &lt;animate attributeName="ry" dur="3s" values="10; 60; 10" repeatCount="indefinite" /&gt;\ \textless \ br /\ \textgreater \ &lt;/ellipse&gt;\ \textless \ br /\ \textgreater \ &lt;/g&gt;&lt;use xlink:href="#R1" transform="rotate(72 390 150)" /&gt;\ \textless \ br /\ \textgreater \ &lt;use xlink:href="#R1" transform="rotate(144 390 150)" /&gt;\ \textless \ br /\ \textgreater \ &lt;use xlink:href="#R1" transform="rotate(216 390 150)" /&gt;\ \textless \ br /\ \textgreater \ &lt;use xlink:href="#R1" transform="rotate(288 390 150)" /&gt;\ \textless \ br /\ \textgreater \ &lt;/svg&gt;&lt;/body&gt;&lt;/html&gt;

Similar questions