<button class="btn-basic">
    <b class="icons">△</b>
    <span>Get Started</span>
  </button>

  <br><br><br>

  <button class="btn-wave">
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#a2d9ff" fill-opacity="1" d="M0,32L40,64C80,96,160,160,240,154.7C320,149,400,75,480,37.3C560,0,640,0,720,37.3C800,75,880,149,960,154.7C1040,160,1120,96,1200,69.3C1280,43,1360,53,1400,58.7L1440,64L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z"></path></svg>
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#a2d9ff" fill-opacity="1" d="M0,32L40,64C80,96,160,160,240,154.7C320,149,400,75,480,37.3C560,0,640,0,720,37.3C800,75,880,149,960,154.7C1040,160,1120,96,1200,69.3C1280,43,1360,53,1400,58.7L1440,64L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z"></path></svg>
    <b class="icons">△</b>
    <span>Wave Animation</span>
  </button>

  <br><br><br>

  <button class="btn-gradient">
    <b class="icons">△</b>
    <span>Gradient Button</span>
  </button>

  <br><br><br>

  <button class="btn-hidden-content" data-content="You Will Redirect">
    <b class="icons">△</b>
    <span>Hidden Content</span>
  </button>
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 800;
  color: white;
  height: 100vh;
  background-color: hsl(218, 17%, 9%);
  background-color: #afb8c8;
}



.icons {
  margin-right: 10px;
  font-size: 1.2rem;
}



.btn-basic {
  padding: 8px 15px;
  outline: 0;
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  background-color: transparent;
  border: none;
}
.btn-basic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 3px;
  /* background-color: #961414; */
  background: linear-gradient(to right, #961414, #bc1f1f);
}
.btn-basic::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 3px;
  background-color: #1f1f1f;
  clip-path: polygon(96% 0, 100% 16%, 100% 100%, 6% 100%, 0 84%, 0 0);
}
.btn-basic:hover::before {
  transform: translate(2%, 8%);
  transition: transform .4s cubic-bezier(0.68,-0.55,0.27,1.55);
}



.btn-wave {
  padding: 8px 15px;
  outline: 0;
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  background-color: #1f1f1f;
  border: none;
  overflow: hidden;
  border-radius: 3px;
}
.btn-wave>span,
.btn-wave>b {
  position: relative;
}
.btn-wave>svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  transform: translate(0, 50%);
  opacity: 0;
  transition: opacity .5s ease-out;
}
.btn-wave>svg:nth-child(2) {
  opacity: .3;
  transform: translate(0, 50%);
}
@keyframes wave {
  0% { transform: translate(0, 50%); }
  100% { transform: translate(-50%, 50%); }
  /* 100% { transform: translate(0, 50%); } */
}
.btn-wave:hover>svg:nth-child(1) {
  opacity: 1;
  animation: wave 2s linear infinite;
}
.btn-wave:hover>svg:nth-child(2) {
  opacity: .5;
  animation: wave 4s linear infinite;
}




.btn-gradient {
  padding: 8px 15px;
  outline: 0;
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  background-color: transparent;
  border: none;
  border-radius: 3px;
}
.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 3px;
  transform: translate(0%, 0%);
  background: linear-gradient(to right, #ff007a, #9a2eff, #4b8dff);
  animation: rotateGradient 5s linear infinite;
}
.btn-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 3px;
  background-color: #1f1f1f;
  clip-path: polygon(83% 11%, 100% 7%, 100% 100%, 0 100%, 0 0, 77% 0);
}
.btn-gradient:hover::before {
  width: 102%;
  height: 110%;
  transform: translate(-1%, -3%);
  transition: 
    transform .4s cubic-bezier(0.68,-0.55,0.27,1.55),
    height .4s cubic-bezier(0.68,-0.55,0.27,1.55),
    width .4s cubic-bezier(0.68,-0.55,0.27,1.55);
}
@keyframes rotateGradient {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}




.btn-hidden-content {
  padding: 8px 15px;
  outline: 0;
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  background-color: transparent;
  border: none;
  border-radius: 3px;
}
.btn-hidden-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transform: translate(-1%, -2px);
  background-color: #1f1f1f5d;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 0 72%, 12% 72%);
}
.btn-hidden-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 3px;
  background-color: #1f1f1f;
}
.btn-hidden-content:hover::before {
  content: attr(data-content);
  font-size: .4rem;
  padding: 5px 0;
  letter-spacing: .1rem;
  font-weight: bold;
  transform: translate(-4%, -16px);
  transition: transform 0.4s cubic-bezier(0.68,-0.55,0.27,1.55);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.