Given a template where the HTML cannot be modified because of other requirements, how is it possible to display (rearrange) a div above another div
div
Just use flex for the parent div by specifying display: flex and flex-direction : column. Then use order to determine which of the child div comes first
display: flex
flex-direction : column