<script src="https://kit.fontawesome.com/a7e9f794eb.js" crossorigin="anonymous"></script>

<div class="container">
  <div class="btn1 btn">Button</div>
  <div class="btn2 btn">Button</div>
  <div class="btn3 btn">Button</div>
  <div class="btn-wrapper">
    <a class="btn4 btn">Button</a>
  </div>
</div>
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-image: linear-gradient(
    109.6deg,
    rgba(245, 56, 56, 1) 11.2%,
    rgba(234, 192, 117, 1) 78%
  );
}

/* ===== Style 1 ===== */

.btn1 {
  margin: 50px;
  width: 200px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: #000;
  text-shadow: 1px 1px 2px #000;
  background: #fff;
  border-radius: 5px;
  background-size: 300% 100%;
  box-shadow: 2px 2px 4px 0px #000;
  background-image: linear-gradient(
    103.3deg,
    rgba(252, 225, 208, 1) 30%,
    rgba(255, 173, 214, 1) 55.7%,
    rgba(162, 186, 245, 1) 81.8%
  );
  transition: background-position 300ms ease;
}

.btn1:hover {
  background-position: 100% 0;
}

/* ===== Style 2 ===== */

.btn2 {
  width: 200px;
  height: 60px;
  margin: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: #000;
  text-shadow: 1px 1px 2px #000;
  background: #fff;
  border-radius: 5px;
  background-size: 300% 100%;
  box-shadow: 2px 2px 4px 0px #000;
  background-image: linear-gradient(
    69.7deg,
    rgba(244, 37, 243, 1) 1.4%,
    rgba(244, 87, 1, 1) 36.2%,
    rgba(255, 204, 37, 1) 72.2%,
    rgba(20, 196, 6, 1) 113%
  );
}

.btn2:hover {
  animation: effect2 1s ease;
}

@keyframes effect2 {
  0% {
    background-position: 100% 0%;
  }

  100% {
    background-position: 0% 200%;
  }
}

/* ===== Style 3 ===== */

.btn3 {
  width: 200px;
  height: 60px;
  margin: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: #000;
  text-shadow: 1px 1px 2px #000;
  background: #fff;
  border-radius: 5px;
  background-size: 300% 100%;
  box-shadow: 2px 2px 4px 0px #000;
  background-image: linear-gradient(
    109.6deg,
    rgba(247, 253, 166, 1) 11.2%,
    rgba(128, 255, 221, 1) 57.8%,
    rgba(255, 128, 249, 1) 85.9%
  );
}

.btn3:hover {
  animation: effect3 1s ease;
}

@keyframes effect3 {
  0% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 300%;
  }
}

/* Button 4 */

.btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.btn4 {
  width: 200px;
  height: 60px;
  margin: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: #000;
  overflow: hidden;
  text-shadow: 1px 1px 2px #000;
  border-radius: 5px;
  box-shadow: 2px 2px 4px 0px #000;
  text-decoration: none;
  background-image: radial-gradient(
    circle 957px at 8.7% 50.5%,
    rgba(246, 191, 13, 1) 0%,
    rgba(249, 47, 47, 1) 90%
  );
}

.btn4::before {
  content: "";
  background-color: rgba(255, 255, 255, 0.5);
  height: 100%;
  width: 30px;
  position: absolute;
  top: 0;
  left: 20px;
  transform: skewX(-45deg) translateX(-75px);
  transition: transform 500ms ease;
}

.btn4:hover:before {
  transform: skewX(-45deg) translateX(210px);
}

@keyframes move4 {
  0% {
    transform: skewY(-45deg) translateX(0);
  }
  100% {
    transform: skewY(-45deg) translateX(60px);
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.