H
H
Heather Beaver2019-02-24 19:35:16
css
Heather Beaver, 2019-02-24 19:35:16

What does -o- -moz- -webkit- mean before display: flex;?

I copied and pasted the code, but didn't understand anything. What are those things before display: flex;?

spoiler
.d-flex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2019-02-24
@Impossible_without_errors

https://developer.mozilla.org/en-US/docs/Glossary/...
Browser vendors sometimes add prefixes to experimental or nonstandard CSS properties and JavaScript APIs, so developers can experiment with new ideas while—in theory—preventing their experiments from being relied upon and then breaking web developers' code during the standardization process. Developers should wait to include the unprefixed property until browser behavior is standardized.
Browser vendors are working to stop using vendor prefixes for experimental features. Web developers have been using them on production

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question