When writing CSS3 properties, the modern wisdom is to list the "real" property last and the vendor prefixes first:
.not-a-square {
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
Why is this method of ordering properties so commonly taught? Here is what it would look like "the wrong way":
.not-a-square {
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
Even doing it "the wrong way", won't the border radius be the same no matter what, forever? A quick investigation might lead you to conclude that it will, and this ordering of properties is rather nonsense.
The Long Long Ago: None of the properties are supported, order doesn't matter.
The Past: Only vendor prefixes are supported, order doesn't matter.
The Now: Both vendor prefixes and actual property are supported. If prefix is last, it will override actual property, but both are the same anyway.
The Future: Only actual property is supported, order doesn't matter.
More about