by csswizardry · 14y ago · 0 comments
> Do you find indenting descendant selectors helpful?
Oftentimes yes; it can give a new developer more of a clue of the markup structure that a previous developer intended to be used. I can see at a glance that `x` needs to be in `y` but `a` needs to be a sibling of `b`. Of course you could just glean that yourself by looking at and reading all the selectors individually, but it’s nice to get an idea of structure at a glance.
> For your comments, do you adhere to CSSDoc or any particular convention?
Nothing official; I have my own habits but no documented standard. I like the look of http://warpspire.com/posts/kss/ though :)
H
No comments yet.