-webkit- vs -moz-transition

Posted by danixd on Stack Overflow See other posts from Stack Overflow or by danixd
Published on 2010-05-08T12:08:46Z Indexed on 2010/05/08 21:38 UTC
Read the original article Hit count: 278

Filed under:
|
|
|

I am using CSS3 transitions on my site and the -webkit- seems to be working, whilst the -moz- is not.

Here is the CSS:

article {z-index: 2; float: left; overflow: hidden; position: relative; -webkit-transition: -webkit-transform 0.2s ease-in-out; -moz-transition: -moz-transform 0.2s ease-in-out; }

.mousedown{-webkit-transform: translate(-180px, 0) !important; -moz-transform: translate(-180px, 0) !important; }

Just using jQeury to add the mousedown class onto the article.

Any idea where I am going wrong?

© Stack Overflow or respective owner

Related posts about css3

Related posts about transition