-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbutton.css
More file actions
50 lines (44 loc) · 1002 Bytes
/
button.css
File metadata and controls
50 lines (44 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
body{
margin: 0;
display: flex;
justify-content: center;
align-items: center;
background: #1dd;
color: aqua;
font-family: Arial, Helvetica, sans-serif;
height: 100vh;
}
.container {
align-items: center;
}
.pulse-button {
background-color: #6c63ff;
color: white;
border: none;
border-radius: 50px;
padding: 15px 30px;
font-size: 18px;
cursor: pointer;
outline: none;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
animation: pulse 1.5s infinite;
transition: transform 0.2s ease;
}
.pulse-button:hover{
transform: scale(1.1);
box-shadow: 0px 0px 20px rgba(108, 99, 255, 0.8);
}
@keyframes pulse {
0% {
transform: scale(1);
box-shadow: 0px 0px 10px rgba(108, 99, 255, 0.5);
}
50% {
transform: scale(1.1);
box-shadow: 0px 0px 10px rgba(108, 99, 255, 0.8)
}
100% {
transform: scale(1);
box-shadow: 0px 0px 10px rgba(108, 99, 255, 0.5);
}
}