<div class="wrap">
  <div class="flex">
    <a href="#" class="link link01"> リンクその01 </a>
    <a href="#" class="link link02"> リンクその02 </a>
    <a href="#" class="link link03"> リンクその03 </a>
    <a href="#" class="link link04"> リンクその04 </a>
    <a href="#" class="link link05"> リンクその05 </a>
    <a href="#" class="link link06"> リンクその06 </a>
  </div>
</div>
@media screen and (min-width: 768px) {
  .link {
    &01,
    &03,
    &05 {
      order: -1;
    }
  }
}

.wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 20px;
}

.link {
  font-size: var(--font-size-md);
  width: calc(50% - 2em);
  text-align: center;
  padding: 1em;
}

@media screen and (min-width: 768px) {
  .flex {
    flex-wrap: nowrap;
    justify-content: center;
  }

  .link {
    width: auto;
  }
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.