Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using CSS3 for the first time, but using specific styles with prefix for each browser looks strange. The need of using -moz-, -o-, -webkit- and another prefix turns the CSS bigger and harder to maintain.

I want to know if the browsers are implementing some standardization to avoid the usage of prefix for styles.

share|improve this question
up vote 2 down vote accepted

The use for the prefiexed properties is to avoid collision between how a vendor renders it and how it should work (based on W3C). These properties will eventually disapear (for the current properties) and will eventually re-appear for new prototype properties.

One thing to keep in mind when using vendors prefixes, define the prefixed properties before the final one, this way, for example, when mozilla's border property will be final you won't have to rewrite your css.

.selector {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;

This way, each vendor that doesn't support the final format, will support his own and each vendor that support the final format will interpret the two definitions they understands but the second one will overwrite the first one.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.