Le 12 juil. 2012 à 09:05, Kyle Sessions a écrit :

> When utilizing CSS3, I know it's generally best to make vendor-prefixed AND
> non-vendor-prefixed declarations, i.e., you should declare -moz-transform,
> -webkit-transform, -o-transform, and -ms-transform, along with just
> transform itself. Is there a suggested best practice for what order these
> declarations should be made in? My instinct would be to declare the
> non-vendor-prefixed one last, so if/when the browser supports that version
> of the declaration, it will overwrite the vendor-prefixed version of
> the declaration. Does that sound right? Is there something I'm not thinking
> of?

It is not a best practice, it is a requirement to future proof your 
declarations. The non-prefixed declaration _must_ come last. Remember that the 
cascade is at work here. 

Philippe
--
Philippe Wittenbergh
http://l-c-n.com




______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to