> On Oct 14, 2016, at 12:13 PM, Tom Livingston <tom...@gmail.com> wrote:
> 
> Curious. Does the order of declarations within a single rule matter?
> Not specificity between rules.
> 
> For example:
> 
> div{
>     position: relative;
>     display: block;
>     width: 100%;
>     margin: 10px 20px;
>     padding: 0;
> }
> 
> as opposed to:
> 
> div{
>     display: block;
>     margin: 10px 20px;
>     padding: 0;
>     position: relative;
>     width: 100%;
> }
> 
> Make any difference?

No. The CSS parser doesn’t care.

For the human eye aka readability of a stylesheet, that is another matter. 
Excellent fuel for violent flame wars.

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





______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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