Even more effective than specifying transition-property as none is setting transition-duration to 0s.
This snippet ensures cross-browser compatibility:
-webkit-transition-duration: 0s;
-moz-transition-duration: 0s;
-o-transition-duration: 0s;
transition-duration: 0s;
Why is this preferred? By default, browsers like Firefox define transition-property as all and set transition-duration as 0s. Hence, establishing transition-duration as 0s aligns closely with the browser's definition of an element without a transition.
When transition-duration is set to the default value of 0s, the specific transition-property becomes insignificant.