<button>button</button>
html, :root {
  --blue: #0092ff;
  --red: #ea4335;
}

body, html {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

button {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  position: relative;
  outline: none;
  border: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  user-select: none;
  padding: 0.75em 3em;
  border-radius: 50px;
  display: inline-block;
  color: #fff;
  background: linear-gradient(to right, var(--blue), var(--red));
}
button::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -10px;
  left: 5%;
  height: 110%;
  width: 90%;
  opacity: 0.8;
  border-radius: 50px;
  background: linear-gradient(to right, var(--blue), var(--red));
  filter: blur(6px);
  transition: all 0.2s;
}
button:hover::after {
  filter: blur(4px);
  width: 100%;
  bottom: -5px;
  left: 0;
}
button:hover:active::after {
  filter: blur(10px);
}

@supports (-ms-ime-align: auto) {
  button::after, button:hover::after, button:active::after {
    display: none;
  }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  button {
    background: -webkit-gradient(linear, left top, right top, from(#7f00ff), to(#e100ff));
    background: linear-gradient(to right, #7f00ff, #e100ff);
  }
  button::after, button:hover::after, button:active::after {
    display: none;
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.