forked from aay7ush/quote-generator-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
74 lines (62 loc) · 1.13 KB
/
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
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
65
66
67
68
69
70
71
72
73
74
/* CSS Reset */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
button {
font: inherit;
cursor: pointer;
}
body {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
height: 100vh;
line-height: 1.5;
background-color: black;
color: white;
display: grid;
gap: 1rem;
place-content: center;
text-align: center;
}
#title {
background-image: -webkit-linear-gradient(92deg, #f35626, #feab3a);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
-webkit-animation: hue 10s infinite linear;
}
@-webkit-keyframes hue {
from {
-webkit-filter: hue-rotate(0deg);
}
to {
-webkit-filter: hue-rotate(-360deg);
}
}
.quote-box {
width: 400px;
padding: 1rem;
border: 5px solid;
border-image: linear-gradient(45deg, purple, orange) 1;
}
#author {
float: right;
color: gray;
font-weight: bold;
font-style: italic;
}
#btn {
padding: 0.5rem;
text-transform: uppercase;
letter-spacing: 3px;
transition: all 0.3s ease-in-out;
border: solid 2px white;
background: black;
color: white;
}
#btn:hover {
background: white;
color: black;
}