hellow.It is very interesting.
A heart that's full Css even use a picture yet.
watch this demo..
Put it under <head>.
@-webkit-keyframes menuanimation {
0% {}
100% {-webkit-transform: scale(1.1);}
}
@-moz-keyframes menuanimation {
0% {}
100% {-moz-transform: scale(1.1);}
}
<!–powerd by:http://www.shek.ir–>
@-o-keyframes menuanimation {
from {}
to {-o-transform: scale(1,1);}
}
@-ms-keyframes menuanimation {
0% {}
100% {-ms-transform: scale(1,1);}
}
@keyframes menuanimation {
0% {}
100% {-moz-transform: scale(1.1);}
}
#heart {
-webkit-animation: menuanimation 0.5s linear infinite 0s;
-moz-animation: menuanimation 0.5s linear infinite 0s;
-o-animation: menuanimation 0.5s linear infinite 0s;
-ms-animation: menuanimation 0.5s linear infinite 0s;
animation: menuanimation 0.5s linear infinite 0s;
}
#shek_ferfreh {float:left;}
<!–ghalb–>
#heart {
position: relative;
width: 100px;
height:100px;
}
#heart:before, #heart:after {
position: absolute;
content: “”;
left: 50px;
top: 5;
width: 50px;
height: 80px;
background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, from(#ab1417), to(#e01e22));
background-image: -moz-linear-gradient(0% 100% 0deg, #ab1417, #e01e22);
background-image: -ms-linear-gradient(top, #ab1417 0%, #e01e22 100%);
background-image: -o-linear-gradient(top, #ab1417 0%, #e01e22 100%);
-moz-border-radius: 50px 50px 0 0;
border-radius: 50px 50px 0 0;
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-transform-origin: 0 100%;
-moz-transform-origin: 0 100%;
-ms-transform-origin: 0 100%;
-o-transform-origin: 0 100%;
transform-origin: 0 100%;
} #heart:after {
left: 0;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-transform-origin: 100% 100%;
-moz-transform-origin: 100% 100%;
-ms-transform-origin: 100% 100%;
-o-transform-origin: 100% 100%;
transform-origin :100% 100%;
}
#heart{margin-top:5px;float:left}
&Put it under <body>.
<div style=”float:left”>
<a title=”خوش آمدید” target=”_blank” rel=”index” href=”http://www.shek.ir” id=”heart”>
</a>
<!–www.shek.ir by:Mohammadreza Alihosseiny Barzi Email:barzi1375@yahoo.com– barzi1375@gmail.com>
</div>
Maybe you like to use this elsewhere.
To do this, put the following code wherever you want.
<a title=”خوش آمدید” target=”_blank” rel=”index” href=”http://www.shek.ir” id=”heart”>
</a>
<!–www.shek.ir by:Mohammadreza Alihosseiny Barzi Email:barzi1375@yahoo.com–barzi1375@gmail.com>
Please respect the copyright.
copy right of:www.shek.ir
See the English version of shek.