I have written some jQuery that is working perfectly in WebKit browsers and Firefox. I am now testing in Opera and am having issues with getting the transition duration for an element. This is my code:
slideSpeed = $(".animate-in").css("-o-transition-duration");
console.log("Slide Speed", slideSpeed);
With the following CSS:
.animate-in{
-o-transition-duration: 2.5s;
}
For some reason, Opera doesn't return "2.5s". Can anyone explain why please?
JSFiddle: http://jsfiddle.net/UGdUs/7/