-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
39 lines (39 loc) · 1006 Bytes
/
style.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
@import url('https://fonts.googleapis.com/css?family=Indie+Flower&display=swap');
html {
background-color: #1A1A1A;
}
body {
font-family: 'Monoton', cursive;
font-family: 'Indie Flower', cursive;
text-align: center;
font-size: 48px;
background-color: #FFFFFF;
border-radius: 15px;
width: 500px;
height: 500px;
margin: auto;
position: absolute;
top: 0; left: 0; bottom: 0; right: 0;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
animation: fadein 1s;
-moz-animation: fadein 1s; /* Firefox */
-webkit-animation: fadein 1s; /* Safari and Chrome */
-o-animation: fadein 1s; /* Opera */
}
.notif{
color: #FFFFFF;
animation: fadein 1s;
-moz-animation: fadein 1s; /* Firefox */
-webkit-animation: fadein 1s; /* Safari and Chrome */
-o-animation: fadein 1s; /* Opera */
}
@keyframes fadein {
from {
opacity:0;
transform: translateY(-20px);
}
to {
opacity:1;
transform: translateY(0px);
}
}