I only occasionally have to mess with CSS, so I'm no guru, and I'm trying to wrap my head around adjoining classes (a.k.a. chained classes)...
When I'm in the Chrome inspector and do a 'copy selector', it gives me a selector with adjoining classes; but then CSS Lint gives me a warning not to use adjoining classes.
When I use this code, my style works as desired:
li.operation.post div.content,
li.operation.get div.content,
li.operation.put div.content,
li.operation.delete div.content,
li.operation.patch div.content { border-color: #4C566A; background-color: #2E3440; }
But when I split the selectors up, like the following, the style breaks:
li .operation .post div .content,
li .operation .get div .content,
li .operation .put div .content,
li .operation .delete div .content,
li .operation .patch div .content { border-color: #4C566A; background-color: #2E3440; }
I'm aware that I can ignore the warnings, since they're just warnings, but I'm interested in knowing why it breaks.