I think this is the more common coding convention across Bootstrap. Extract nested classes as first-class citizens and assume HTML would use both.