CSS Box Model Attribute Ordering Convention
问题 If you ever wonder in what order to enter your CSS attributes like border , padding , font-family , etc. Two common approaches seem to be Alphabetical and Box Model. (See: Conventional Order of CSS properties) This not to be confused with selectors ( #id , .class , :hover , tagname ) in which case the order matters very much. The Alphabetical option does not make much sense to me. For one thing it sticks padding and line-height in the middle of width and height or left and top . I will post a