Expand top-right-bottom-left component arrays in accordance with CSS rules