Ответ
(На проверке у модератора)
.custom-table { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 20px; } .custom-row { display: flex; width: 100%; } .custom-cell { flex: 1; margin-right: 20px; margin-bottom: 20px; } .custom-cell:last-child { margin-right: 0; } @media (min-width: 768px) { .custom-cell { flex-basis: calc(50% - 10px); } }