-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
64 lines (59 loc) · 1.17 KB
/
styles.css
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.container{
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-family: arial;
text-align: center;
}
.container .fab{
color: blue;
font-size: 80px;
}
.container .notify::after{
position: absolute;
content: attr(data-count);
top: 0px;
right: -3px;
font-size: 30px;
font-weight: bold;
color: white;
padding: 5px 12px;
background: linear-gradient(#ff1a1a, #ff0000, #e60000);
border-radius: 50px;
line-height: 100%;
box-shadow: 0 0 10px rgba(0,0,0,.2);
opacity: 0;
transition: opacity 0.1s ease-out;
animation: animate 0.9s ease-out infinite alternate;
}
@keyframes animate{
0%{
transform: scale(1);
}
100%{
transform: scale(1.09);
}
}
.notify.add-numb::after{
opacity: 1;
}
.container .btn{
position: absolute;
left: -25px;
top: 100px;
height: 40px;
width: 120px;
color: white;
font-size: 15px;
font-weight: bold;
border: 1px solid #111755;
background: #1A237E;
border-radius: 3px;
line-height: 40px;
outline: none;
cursor: pointer;
}
.container .btn:hover{
background: #161d6a;
}