forked from una/CSSgram
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmoon.css
More file actions
43 lines (37 loc) · 752 Bytes
/
moon.css
File metadata and controls
43 lines (37 loc) · 752 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
/*
* Moon
*
*/
.moon {
position: relative;
-webkit-filter: grayscale(1) contrast(1.1) brightness(1.1);
filter: grayscale(1) contrast(1.1) brightness(1.1); }
.moon img {
width: 100%;
z-index: 1; }
.moon:before {
content: '';
display: block;
height: 100%;
width: 100%;
top: 0;
left: 0;
position: absolute;
pointer-events: none;
z-index: 2; }
.moon:after {
content: '';
display: block;
height: 100%;
width: 100%;
top: 0;
left: 0;
position: absolute;
pointer-events: none;
z-index: 3; }
.moon::before {
background: #a0a0a0;
mix-blend-mode: soft-light; }
.moon::after {
background: #383838;
mix-blend-mode: lighten; }