This pseudo code section.solutions.flex-columns>.row>.column*2 Will become this code <section class="solutions flex-columns"> <div class="row"> <div class="column"></div> <div class="column"></div> </div> </section>