+ 2
How to develop animation like myshareit site ??
anybody can help with this ???
4 odpowiedzi
+ 4
yes here is example code
<button>OK</button>
css button{
background: black;
transition: background 3s linea;
color: white;
}
button:hover{
background: blue;
}
this is css transition that's used
you can see my code at sololearn code playground and there are others code too
you can go to playground tabs or also
tap my profile and go to codes
+ 2
one more example code
some websites use animate property
in <div style="animate: move 3s linear;">
@keyframes move{
0%{write properties here} 100%{final changed valyes }}
and in javascript it is by
setInterval( 100 , function that changes css style value). or functions based on it.
+ 1
it is same as other websites it contains css transition css animate a few and js transition with plugins
by the way most of them are using transition
like the buttons inputs menu
+ 1
can you share the sample code