@sudarshanaui/fancy-button 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/fancybutton.css +21 -0
- package/fancybutton.jsx +10 -0
- package/index.js +1 -0
- package/package.json +8 -0
package/README.md
ADDED
package/fancybutton.css
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.btn-anim {
|
|
2
|
+
padding: 12px 24px;
|
|
3
|
+
background: linear-gradient(25deg, #EF8B4A 50%, #FF6E64 40%);
|
|
4
|
+
color: white;
|
|
5
|
+
border: none;
|
|
6
|
+
border-radius: 25px;
|
|
7
|
+
cursor: wait;
|
|
8
|
+
font-size: 16px;
|
|
9
|
+
transition: transform 0.2s, box-shadow 0.2s;
|
|
10
|
+
box-shadow: 0 3px 5px 2px rgba(255, 105, 135, .3);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.btn-anim:hover {
|
|
14
|
+
transform: scale(1.05);
|
|
15
|
+
box-shadow: 0 3px 15px 2px rgba(255, 105, 135, .5);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.btn-anim:active {
|
|
19
|
+
transform: scale(0.95);
|
|
20
|
+
}
|
|
21
|
+
|
package/fancybutton.jsx
ADDED
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './fancybutton';
|