<div class="wrap-warning"><button class="warning-button">Alert</button></div>

				
			
				
					.warning-button {
    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
          -webkit-tap-highlight-color: 
transparent;
  }
  
  .wrap-warning button {
      width: 150px;
      height: 50px;
      cursor: pointer;
      font-size: 20px;
      font-family: 'Staatliches', cursive;
      letter-spacing: 5px;
      background: 
#ffc421;
      border: 2px solid 
black;
      box-shadow: 0px 0px 0px 
rgba(0,0,0,0.4);
      transition: 500ms;
  }
  
  .wrap-warning button:after {
      content: '';
      position: absolute;
      transform: translateX(-55px) translateY(-40px);
      width: 25px;
      height: 25px;
      border-radius: 50%;
      background: 
transparent;
      box-shadow: 0px 0px 50px 
transparent;
      transition: 500ms;
  }
  
  .wrap-warning button:hover {
      transform: translateY(-5px);
      box-shadow: 0px 10px 10px 
rgba(0,0,0,0.4);
  }
  
  .wrap-warning button:hover:after {
      background: 
white;
      box-shadow: 0px 0px 20px 
#ffc421, 0px 0px 30px 
#ffc421, inset 0px 0px 10px 
#ffc421;
      animation: spin 1s infinite linear;
  }
  
  @keyframes spin{
      25%{transform: translateX(-25px) translateY(-35px);
              width: 15px;
              height: 15px;}
      50% {transform: translateX(-55px) translateY(-30px);
              width: 5px;
              height: 5px;}
      75% {transform: translateX(-85px) translateY(-35px);
              width: 15px;
              height: 15px;}
  }
  
  .wrap-warning button:focus {
      outline: none;
  }
Button code