You can add @media for mobile responsiveness if the screen from 800px or below.
.fronttest { display: flex; flex-direction: row; } @media (max-width: 800px) { .fronttest { flex-direction: column; } }