Hello, i used to work with the marquee tag to make some content move, and i found it really comfortable since it is compatible with Most browsers. Though there was a problem with the drop in the movement if the speed is set a little high. I tried the animation in CSS3 but the problem is the same. they both don't allow setting FPS and only determine speed. Is it a problem with css3 or is there another way to do so? I know that it can be done with javascript but i don't want to use it. Please help me with this. Thanks in advance.
You can show your piece of css3 code? You use value - ease, ease-in, ease-out, ease-in-out, linear. Read this http://css3.bradshawenterprises.com/
It seems that you didn't get what i meant. I know that i can use ease-in, ease-out and linear, but they all have same problem. the problem is in the FPS, its very low and can't be controlled, and the movement is not smooth. And this is the css code if it does any good : <style type="text/css"> #move { border:#00C thin solid; position:relative; -webkit-animation: anim1 13s linear 0s infinite alternate; } @-webkit-keyframes anim1 { 0% {left:-50px; top:0px;} 100% {left:1400px; top:0px;} } </style> Code (markup): and inside the body i have: <div id="move"><img src="1.jpg" style="width:200px; height:200px"/></div> Code (markup):
FPS can not directly change in css3. FPS - this is a problem browsers. Fine game with the properties of the css3 animation can be a bit better acceleration. But for IE you need to use hacks - js. IE dont support css3 animation properties - http://findmebyip.com/litmus/ I think you need use js.
You might not want to use JavaScript Mizyan but it is the only solution for this problem. There are keyrames in CSS3 animation but, at the moment, they only working in Chrome and Safari.
I know that it can be done with js but i was asking if css3 is capable of doing it, but since it cant be done with css3 i think i dont have a choice. Thank you everyone for the help.