Transforms + transitions test


/ Published in: JavaScript
Save to your folder(s)

jQuery testing for animating CSS transforms using CSS transitions.


Copy this code and paste it in your HTML
  1. $('<div class="t"></div>').css({
  2. '-moz-transition-property': '-moz-transform'
  3. }).appendTo('body');
  4. alert($('.t').css('-moz-transition-property'));

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.