How can i make the second line to display as a new line with the horizontal scroll enabled

Each new line should add to the bottom

<https://play.tailwindcss.com/AkDQ2ef5mI?size=354x720>

```
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>

  <body>
    <div class="flex mx-2 space-x-1 text-center overflow-x-auto md:overflow-x-hidden md:space-x-0 md:grid-cols-12 md:gap-1 md:grid">
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>

      <!--second line -->
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
      <div class="border-2 border-black">test</div>
    </div>
  </body>
</html>

```