Answer the question
In order to leave comments, you need to log in
Why write the same CSS property for every browser?
I often see entries of the following nature:
-webkit-transition: opacity 0.5s ease;
-moz-transition: opacity 0.5s ease;
-o-transition: opacity 0.5s ease;
transition: opacity 0.5s
I took the property transition and opacity as an example, I'm wondering why list -webkit, -moz, -o when the last (just transition) property is supported by all of the above browsers? I would also understand if the values for each browser would be different, but if it is the same ...
Answer the question
In order to leave comments, you need to log in
The bottom line is that often new features appear in browsers with vendor prefixes, and only in later versions support without a prefix appears, so for such old versions they are added. By the way, some fresh properties can even support the latest versions of browsers only with prefixes. So it's up to you to add prefixes or not. If you use sass, you can create mixins for automation.
the last (just a transition) property - do all of the above browsers support it?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question