JSFiddle - React, Tailwind, and code Playground

by Michel Penke

HTML

<div class="correctiv-container">
  <button class="correctiv-btn">
  Helfer
  </button>
  <button class="correctiv-btn">
  Fachkräfte
  </button>
  <button class="correctiv-btn">
  Spezialisten
  </button>
  <button class="correctiv-btn">
  Experten
  </button>
</div>

CSS

.correctiv-container {
  display: flex;
  justify-content: space-between;
}

.correctiv-btn {
  background-color: #ff99a4;
  border: 3px solid transparent;
  border-radius: 3px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  float: left;
  font-family: SourceSansPro-Bold;
  font-size: 18px;
  height: 36px;
  line-height: 0;
  max-width: 110px;
  text-align: center;
  transition-delay: 0s;
  transition-duration: .3s;
  transition-property: all;
  transition-timing-function: ease;
  width: 100%;
}

.correctiv-btn:hover {
  border: 3px solid #ff5064;
}

.correctiv-btn:active, 
.correctiv-btn:focus, 
.correctiv-btn:target {
  background: #ff5064;
  outline: 0;
}

@media (max-width: 550px) {
  .correctiv-btn {
    max-width: 90px;
    font-size: 14px;
  }
}


@media (max-width: 450px) {
  .correctiv-btn {
    max-width: 80px;
    font-size: 12px;
  }
}

@media (max-width: 350px) {
  .correctiv-btn {
    max-width: 70px;
    font-size: 11px;
  }
}

@media (max-width: 320px) {
  .correctiv-btn {
    display: none;
  }
}