Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit 1234f61

Browse files
authored
Merge pull request #69 from DesignSystemsOSS/development
Development
2 parents 1ace1ae + 27fb088 commit 1234f61

2 files changed

Lines changed: 77 additions & 1 deletion

File tree

package.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "eccentrictouch",
3+
"version": "1.0.0",
4+
"description": "Suffering from Frontend crises? Here's something that might interest you.",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "eccentrictouch"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/yashsehgal/eccentrictouch.git"
12+
},
13+
"keywords": [
14+
"thedesignsystems",
15+
"css",
16+
"library",
17+
"eccentrictouch",
18+
"opensource"
19+
],
20+
"author": "yashsehgal",
21+
"license": "ISC",
22+
"bugs": {
23+
"url": "https://github.com/yashsehgal/eccentrictouch/issues"
24+
},
25+
"homepage": "https://github.com/yashsehgal/eccentrictouch#readme"
26+
}

src/lib/buttons/buttons.scss

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,4 +833,54 @@
833833

834834
.cartoon_multi_layer_button:hover {
835835
box-shadow: 6px 24px 26px rgb(219, 219, 219);
836-
}
836+
}
837+
body{
838+
display: flex; /* GLOWING BUTTON(NEON) */
839+
height: 100vh;
840+
background: black;
841+
align-items: center;
842+
justify-content: center;
843+
}
844+
button{
845+
position: relative;
846+
height: 60px;
847+
width: 200px;
848+
border: none;
849+
outline: none;
850+
color: white;
851+
background: #111;
852+
cursor: pointer;
853+
border-radius: 5px;
854+
font-size: 18px;
855+
font-family: 'Raleway', sans-serif;
856+
}
857+
button:before{
858+
position: absolute;
859+
content: '';
860+
top: -2px;
861+
left: -2px;
862+
height: calc(100% + 4px);
863+
width: calc(100% + 4px);
864+
border-radius: 5px;
865+
z-index: -1;
866+
opacity: 0;
867+
filter: blur(5px);
868+
background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
869+
background-size: 400%;
870+
transition: opacity .3s ease-in-out;
871+
animation: animate 20s linear infinite;
872+
}
873+
button:hover:before{
874+
opacity: 1;
875+
}
876+
button:hover:active{
877+
background: none;
878+
}
879+
button:hover:active:before{
880+
filter: blur(2px);
881+
}
882+
@keyframes animate {
883+
0% { background-position: 0 0; }
884+
50% { background-position: 400% 0; }
885+
100% { background-position: 0 0; }
886+
}

0 commit comments

Comments
 (0)