Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

-webkit- vs -moz-transition

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 jQuery to add the mousedown class onto the article.

Any idea where I am going wrong?

like image 341
theorise Avatar asked May 08 '10 12:05

theorise


People also ask

What is VS Code used for?

Visual Studio Code is a streamlined code editor with support for development operations like debugging, task running, and version control. It aims to provide just the tools a developer needs for a quick code-build-debug cycle and leaves more complex workflows to fuller featured IDEs, such as Visual Studio IDE.

What brand does VS stand for?

Brands that Inspire.Victoria's Secret & Co.

What does VS mean in a dictionary?

(abbreviation for versus) used when making a comparison between two things, ideas, or opinions: The S&P hotel index has gained 40%, vs.

Is Visual Studio 2022 Good?

Visual Studio 2022 is the best Visual Studio ever. Our first 64-bit IDE makes it easier to work with even bigger projects and more complex workloads. The stuff you do every day—like typing code and switching branches—feels more fluid more responsive.


4 Answers

Firefox 4 and above supports -moz-transition. See the documentation page.

like image 78
samvermette Avatar answered Oct 12 '22 23:10

samvermette


Currently, transitions aren't supported on CSS transforms in Mozilla.

https://developer.mozilla.org/en/CSS/CSS_transitions

like image 34
RabidZombie Avatar answered Oct 12 '22 23:10

RabidZombie


Support for -moz-transition has been added in Gecko 1.9.3 (Firefox 3.7), so right now -moz-transition will only work in a Firefox 3.7 alpha release or Minefield (Firefox nightly build).

like image 30
Radu Avatar answered Oct 13 '22 01:10

Radu


UPDATE: see comments. Support for -moz-transition has now been added. Yay!

There is no such thing as -moz-transition (yet), sorry. Mozilla will do transforms, but webkit is still the only engine rendering transitions.

like image 30
Miriam Suzanne Avatar answered Oct 13 '22 00:10

Miriam Suzanne