-1

It seems like everyone takes for granted that browsers are just different from each other. It makes programming very redundant, like this:

-webkit-transition: all 500ms ease;
-moz-transition: all 500ms ease;
-ms-transition: all 500ms ease;
-o-transition: all 500ms ease;
transition: all 500ms ease;

This seems really stupid and I have no idea why these browsers are making development so hard. Why are they different from each other? Is there any objective reason?

And it's not just CSS. JS also performs differently depending on the browser. such as detecting what key the user presses.

Will Kanga
  • 652
  • 1
  • 6
  • 12

1 Answers1

-1

Each of these venfor-prefixed properties (Chrome has -webkit, -o is Opera etc..) are used for proprietary or new CSS features, as they're not yet confirmed.

They should be removed with time, when the property is finally implemented in a browser.

  • yeah but its not just vendor prefixes, what about getting what key the user presses? Some browsers use event.which and some use event.keyCode – Will Kanga Nov 01 '20 at 20:26