Art, asked by ravindarasingh209, 8 months ago

this one guys.........​

Attachments:

Answers

Answered by ItzUnic0rns
120

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

Answered by tamil67
5

WOW NICE

&lt;marquee bgcolor=GREEN&gt;&lt;fontcolor=BLACK&gt; I PROMISE I WILL FOLLOW YOU IF YOU MARK AS BRAINLIST ❣️❣️

Similar questions