detectar si hay 3 divs en css
.parent div:nth-child(1):nth-last-child(3), .parent div:nth-child(2):nth-last-child(2), .parent div:nth-child(3):nth-last-child(1) { width: 33.3333%; }