-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.css
More file actions
58 lines (54 loc) · 1.1 KB
/
Copy pathtest.css
File metadata and controls
58 lines (54 loc) · 1.1 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
*{
padding: 0;
margin: 0;
}
html {
font-family: 'Raleway', sans-serif;
}
body{
/* background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ),url("https://www.gsma.com/iot/wp-content/uploads/2015/03/man-with-phone.jpg");
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;*/
background-color: #fafafa;
width: 100%;
height: 100%;
top: 0;
left: 0;
position: absolute;
background-size: cover;
}
.toggle>input[type="radio"] {
display: none;
}
.overlay {
position: fixed;
z-index: 99;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.9);
display: flex;
align-items: center;
text-align: center;
visibility: hidden;
opacity: 0;
transition: opacity .3s;
}
.overlay img{
max-width: 90%;
max-height: 90%;
width: auto;
height: auto;
transform: scale(0.95);
transition: transform .3s;
}
.overlay:target {
visibility: visible;
outline: none;
cursor: default;
}
.overlay:target img {
transform: scale(1);
}