Basic Flex Row Example

Items in a Row with `flex`

Item 1
Item 2
Item 3

The parent `div` above has the `flex` class, causing "Item 1", "Item 2", and "Item 3" to line up side-by-side.

Navigation Links Example

This `nav` element uses `flex` to arrange the anchor tags (links) in a horizontal row.