|
|
|
|
|
by puppybeard
5205 days ago
|
|
Some nice ideas, but not many new ones.
And the new ones don't always make sense: "For each level of markup nesting, try and indent your CSS to match" <= that made my teeth itch. Mostly just down to personal taste, but I really find it quicker to read css if only the values are indented. It's easier to compare nested classes that way, as repeated values would occupy more similar space. "Also write vendor prefixed CSS so that colons all line up" <= not all vendor css3 values have the same structure, so this can't be a standard (eg: gradients, mixed border-radius) I suppose whether or not you add conditional support
for IE is a matter of taste. I prefer to handle IE the boilerplate way, with conditionals determining what class the html element has, and including appropriate styles in the main css. Why sacrifice good, standards-compliant css for dirty IE? |
|
Fair enough; any reason as to why?
> not all vendor css3 definitions have the same structure, so this can't be a standard
Well if it can’t be done then it can’t be done…