-
Notifications
You must be signed in to change notification settings - Fork 0
/
maskimage.html
57 lines (51 loc) · 1.33 KB
/
maskimage.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
height: 100vh;
}
.container{
background: rgb(88, 56, 56);
height: 100vh;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.mask{
height: 100vh;
width: 100%;
background-image: url("images/space/gallexy1.jpg");
background-size: cover;
position: relative;
}
.mask::before{
content: '';
position: absolute;
top:0;
left:0;
height: 100vh;
width: 100%;
background-image: url("images/Mask/frame.jpeg");
background-size:40%;
background-size: cover;
background-position: center;
mix-blend-mode:screen;
}
</style>
</head>
<body>
<div class="container">
<div class="mask"></div>
</div>
</body>
</html>