-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (73 loc) · 1.47 KB
/
style.css
File metadata and controls
83 lines (73 loc) · 1.47 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
@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
* {
box-sizing: border-box;
}
body {
font-family: 'Muli', sans-serif;
overflow: hidden;
margin: 0;
background: #000000;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: radial-gradient(ellipse at bottom, #754f46 0%, #43595c 55%);
}
.container {
width: 100%;
display: flex;
padding: 0 20px;
}
.slide {
height: 80vh;
border-radius: 20px;
margin: 10px;
cursor: pointer;
color: #fff;
flex: 1;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
transition: all 500ms ease-in-out;
}
.slide h3 {
position: absolute;
font-size: 24px;
bottom: 20px;
left: 20px;
margin: 0;
opacity: 0;
}
.slide.active {
flex: 10;
box-shadow: 1px 1px #87e0fd, 2px 2px #87e0fd, 3px 3px #87e0fd, 4px 4px #87e0fd,
5px 5px #87e0fd, 6px 6px #87e0fd, 7px 7px #87e0fd;
-webkit-transform: translateX(-7px);
transform: translateX(-7px);
}
.slide.active h3 {
opacity: 1;
transition: opacity 0.3s ease-in 0.4s;
}
h1 {
background: #111;
}
a {
border-radius: 55px;
background: rgba(0, 0, 0, 0.1);
float: left;
display: block;
margin: 10px;
padding: 10px 15px;
color: white;
text-align: center;
text-decoration: none;
/* border-right: 1px solid #111; */
flex-wrap: wrap;
}
a:hover {
background: rgba(0, 0, 0, 0.2);
color: rgb(192, 231, 253);
transform: rotateZ(1deg);
}