Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
sweety-12 authored Nov 7, 2022
0 parents commit 302e6e7
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 0 deletions.
33 changes: 33 additions & 0 deletions glowingNeonButtons.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<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>Glowing Button</title>
<link rel="stylesheet" href="style2.css">
</head>
<body>
<a href="#">
<span></span>
<span></span>
<span></span>
<span></span>
Neon button
</a>
<a href="#">
<span></span>
<span></span>
<span></span>
<span></span>
Neon button
</a>
<a href="#">
<span></span>
<span></span>
<span></span>
<span></span>
Neon button
</a>

</body>
</html>
65 changes: 65 additions & 0 deletions style2.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
*{
margin:0;
padding:0;
box-sizing: border-box;
}
body {
display: flex;
justify-content :center;
align-items: center;
height :100vh;
background: black;
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-weight: bold;
}
a {
position: relative;
display: inline-block;
padding : 20px 30px;
margin : 40px 0;
color: aqua;
text-decoration : none;
text-transform: uppercase;
transition : 0.5s;
letter-spacing:4px;
overflow: none;
margin-right: 50px;
}

a:hover {
background:turquoise;
color:black;
box-shadow : 0 0 5px turquoise, 0 0 25px turquoise,0 0 50px turquoise, 0 0 200px turquoise;
-wedkit-box-reflect: below 1px linear-gradient(transparent , black);
}
a:nth-child(1){
filter : hue-rotate(270deg);
}

a:nth-child(2){
filter : hue-rotate(101deg);
}

a span {
position : absolute;
display : block;
}
a span:nth-child(1){
top :0;
left :0;
width :100%;
height : 2px;
background:linear-gradient (90deg, transparent, aqua);
animation: animate1 1s infinite;
}
@keyframes animate1{

0%{
left : -100%;
}
50%,
100%{
left :100%;
}
}

0 comments on commit 302e6e7

Please sign in to comment.