That&#x27;s exactly how Bootstrap&#x27;s classes for lists work. And they are tied to the DOM structure, though not necessarily to particular elements: .my-list has to go on a container element, and .my-list__item has to go onto children of that element.<p>The point I was trying to make was that at a component level, your CSS classes are usually going to depend on a particular hierarchy in the DOM elements that the classes are applied to, or they won&#x27;t work correctly. How much of a dependency you have is a tradeoff; you can design your framework to minimize the dependency, but you&#x27;re likely to create a more complicated framework in exchange.