-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (69 loc) · 1.61 KB
/
style.css
File metadata and controls
84 lines (69 loc) · 1.61 KB
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
75
76
77
78
79
80
81
82
83
84
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: Arial, Helvetica, sans-serif;
background: #000;
color:#fff;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container{
position: relative;
height: 600px;
width: 1000px;
background: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7) ), url(background.jpg);
text-align: center;
box-shadow: 0 0 20px orangered;
border: 2px solid orangered;
animation: fire 3s linear infinite;
}
.text{
position: absolute;
top:20%;
font-size: 5rem;
width:100%;
background: url(background.jpg);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 15px;
animation: fire 3s linear infinite;
}
.reflect{
position: absolute;
top:35%;
transform: perspective(500px) rotateX(230deg) scale(1.1);
opacity: 0.3;
}
button{
position: absolute;
bottom: 20%;
left:50%;
transform: translateX(-50%);
padding: 1rem 2rem;
background: url(background.jpg);
border: none;
border-radius: 5px;
cursor: pointer;
outline: none;
color:white;
font-size: 1.2rem;
text-transform: uppercase;
letter-spacing: 3px;
animation: fire 5s linear infinite;
transition: filter 0.5s;
}
button:hover{
filter: brightness(2);
}
@keyframes fire{
0%{ background-position: 100% 0%;}
100%{ background-position: 100% 100%;}
}