Make Animated Button At Hover | HTML | CSS | Neon Button  
   HTML Code :
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Neon Button</title>
    <link rel="stylesheet" href="neonbutton.css">
</head>
<body>
    <a href="">
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    Button 
</a>
</body>
</html>
   CSS Code :
body{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color:rgb(58, 53, 53);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 25px;
}
a{
    text-decoration: none;
    color:black;
    padding: 15px 30px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
    transition: 0.2s;
    font-size: 24px;
}
 a:hover{
    color: rgb(9, 253, 9);
    background-color: rgb(58, 53, 53);
    box-shadow: 0 0 15px ;
    transition-delay:1s ;
} 
a span{
    position: absolute;
    display: block;
}
a span:nth-child(1){
    top: 0;
    width: 100%;
    left: -100%;
    height: 2px;
  background: linear-gradient(90deg , transparent , rgb(9,253,9) );
}
a:hover span:nth-child(1){
    left: 100%;
    transition: 1s;
}
a span:nth-child(3){
    bottom: 0;
    width: 100%;
    right: -100%;
    height: 2px;
  background: linear-gradient(20deg , transparent , rgb(9,253,9) );
}
a:hover span:nth-child(3){
    right: 100%;
    transition: 1s;
    transition-delay: 0.5s;
}
 a span:nth-child(2){
    top: -100%;
    width: 2px;
    right: 0;
    height: 100%;
  background: linear-gradient(180deg , transparent , rgb(9,253,9) );
}
a:hover span:nth-child(2){
    top: 100%;
    transition: 1s;
    transition-delay: 0.25s;
} 
a span:nth-child(4){
    bottom: -100%;
    width: 2px;
    left: 0;
    height: 100%;
  background: linear-gradient(360deg , transparent , rgb(9,253,9) );
}
a:hover span:nth-child(4){
    bottom: 100%;
    transition: 1s;
    transition-delay: 0.75s;
} 
   If it is helpful To You Please  Subscribe me on YouTube
                     Coding With Roannie
