- 0
Firefox HTML5 animation problem
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Behind-the-Scenes: North Korean animators secretly work on Amazon and HBO Max shows
By Fiza Ali,
- nick roy
- 38 north project
- (and 18 more)
- 0 replies
- 1 view
-
Here's when and where you can watch Netflix DROP 01 global live stream
By Aditya Tiwari,
- 0 replies
- 3 views
-
Microsoft is significantly reducing cold boot time on Xbox Series X|S
By Usama Jawad96,
- 10 replies
- 116 views
-
Netflix plans to buy studio that worked on Happy Feet and The LEGO Movies
By zikalify,
- netflix
- animal logic
- (and 6 more)
- 2 replies
- 3 views
-
- 0 replies
- 5 views
-
Question
n_K
So I'm trying to do some animation and only focusing on firefox at the moment before adding the code for IE, webkit, opera and other browsers. But I'm encountering a problem, when I run this in firefox 8, the final object that has no animation assigned to it, is being moved exactly the same as the image before it. It's really annoying, and ****ing me off so I'm assuming I'm doing something wrong, any ideas?
HTML:
CSS:
#ani1
{
margin-left: auto;
margin-right: auto;
-moz-animation-name: ani1;
-moz-animation-duration: 8s;
-moz-animation-iteration-count: 1;
-moz-animation-play-state:running;
display:block;
position:relative;
top:80px;
}
#ani2
{
margin-left: auto;
margin-right: auto;
-moz-animation-name: Ani2;
-moz-animation-duration: 8s;
-moz-animation-iteration-count: 1;
-moz-animation-play-state:running;
display:block;
position:relative;
top:80px;
}
#static1
{
margin-left: auto;
margin-right: auto;
}
@-moz-keyframes ani1
{
0%
{
-moz-transform: rotate(180deg);
width:0px;
height:0px;
left:0px;
top:80px;
}
100%
{
-moz-transform: rotate(0deg);
width:85px;
height:106px;
left:-230px;
top:230px;
}
}
@-moz-keyframes ani2
{
0%
{
-moz-transform: rotate(180deg);
width:0px;
height:0px;
left:0px;
top:80px;
}
100%
{
-moz-transform: rotate(0deg);
width:60px;
height:60px;
left:30px;
top:60px;
}
}
[/CODE]
Link to comment
Share on other sites
2 answers to this question
Recommended Posts