-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
85 lines (76 loc) · 1.44 KB
/
style.css
File metadata and controls
85 lines (76 loc) · 1.44 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
85
@font-face {
src: url("Koulen-Regular.ttf");
font-family: Koulen;
}
html,
body {
font-family: "Koulen", sans-serif;
}
.wrapper:before,
.content {
box-sizing: border-box;
display: block;
font-size: 4em;
padding-top: 0.7em;
width: 6em;
height: 3em;
position: fixed;
top: 50%;
left: 50%;
transform: translate3d(-50%, -50%, 0);
}
.content {
font-weight: bold;
text-align: center;
z-index: 1000;
background: #fff;
color: #000;
mix-blend-mode: lighten;
}
section {
background-repeat: no-repeat;
background-size: cover;
isolation: isolate;
position: relative;
height: 100vh;
padding: 1em;
}
.wrapper {
clip: rect(auto auto auto auto);
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.wrapper:before {
content: " ";
padding: 2em 3.5em;
mix-blend-mode: darken;
}
.one {
background-image: url(milo-miloezger-rKYRJu0n06Y-unsplash.jpg);
}
.one .wrapper:before {
background: #264653;
}
.two {
background-image: url(esteban-benites-n0isdxNCSto-unsplash.jpg);
}
.two .wrapper:before {
background: #2a9d8f;
mix-blend-mode: difference;
}
.three {
background-image: url(nathan-dumlao-r-KfktlyBL0-unsplash.jpg);
}
.three .wrapper:before {
background: #f4a261;
mix-blend-mode: screen;
}
.four {
background-image: url(yao-hu-WEr6UFkNXiA-unsplash.jpg);
}
.four .wrapper:before {
background: #e76f51;
}