Come organizzare i css
Ipotesi di ottimizzazione nella struttura organizzativa dei CSS:
/*****Reset*****/
Remove margin and padding from elements/*****Basic Elements*****/
Define styles for basic elements: body, h1-h6, ul, ol, a, p, etc./*****Generic Classes*****/
Define styles for simple things like floating to the sides, removing a bottom margin on elements, etc
Yes, these may not be as semantic as we would all like, but they are necessary for coding efficiently/*****Basic Layout*****/
Define the basic template: header, footer, etc. Elements that help to define the basic layout of the site/*****Header*****/
Define all elements in the header/*****Content*****/
Define all elements in the content area/*****Footer*****/
Define all elements in the footer/*****Etc*****/
Continue to define the other sections one by one