try the following:
Wrong align your last div
make all your containers float:left
and indicate the percentage width of each of your containers so that their total amount is 100%;
working violin
if you do not want to apply static width, follow these steps:
give each of your containers width:auto , but get a notification that
if the total sum of the width of each of the containers is greater than that of the parent (body in your case) containen, then a line break occurs, the div will move to the next line.
see this fiddle
source share