Responsive Item Stacking Example

This example demonstrates how items stack vertically on small screens and arrange horizontally on larger screens ( sm breakpoint and up).

Item 1
Item 2
Item 3

Explanation:

The container <div> above uses the classes flex flex-col sm:flex-row .

Resize your browser window to see the layout change.