forked from IamBisrutPyne/Scroll-Design
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
49 lines (41 loc) · 788 Bytes
/
style.css
File metadata and controls
49 lines (41 loc) · 788 Bytes
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
}
html {
font-size: 62.5%;
}
.slideshow {
width: 100%;
height: 100vh;
background: radial-gradient(rgba(48, 48, 48, 0.95), rgba(0, 0, 0, 0.95)),
url(images/bg.png) center no-repeat;
background-size: cover;
display: flex;
align-items: center;
padding: 0 2rem;
}
.slideshow-link {
width: 20%;
filter: brightness(0.1);
}
.slideshow-link:nth-child(1),
.slideshow-link:nth-child(5) {
transition: width 0.5s, opacity 0.5s;
}
.slideshow-link:nth-child(3) {
transition: filter 0.5s;
}
.slideshow-link img {
width: 100%;
}
.faded-out {
opacity: 0;
width: 0;
}
.light {
filter: brightness(1.5);
transition: filter 1.5s;
}