1 karma · joined Mar 28, 2011 (15y ago) · 2 submissions
comment 15y ago · link · parent
Within the selectordefinitions I write general definitions like width, heigt, displaytype and position (top/left.. margin, padding) first. Then contentspecific definitions like fontdefinitions. At the end I write border and background definitions.
That way it's an ease to see if an element hast a specific definitions, because I know if I'm looking for the width and the first definition is not the with then there is no width set for this element.
comment 15y ago · link · parent
Within the selectordefinitions I write general definitions like width, heigt, display-type and position (top/left.. margin, padding) first. Then contentspecific definitions like font definitions. At the end I write border and background definitions.
That way it's an ease to see if an element hast a specific definitions, because I know if I'm looking for the width and the first definition is not the with then there is no width set for this element.