-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathstyle.css
More file actions
50 lines (49 loc) · 796 Bytes
/
style.css
File metadata and controls
50 lines (49 loc) · 796 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
50
body{
display: flex;
justify-content: center;
background-color: #CAC4CE;
}
h1{
color:#242038
}
.container {
display: flex;
position: absolute;
top:50%;
left:50%;
transform: translate(-50%,-50%);
justify-content: center;
align-items: center;
width:100%;
height: 100%;
}
.magnifiedImage{
position: absolute;
width:40vw;
height:30vw;
overflow: hidden;
border-radius: 5px;
left:25vw;
visibility: hidden;
}
.magnifiedImage img {
object-fit: cover;
}
.thumbnailImage {
position: absolute;
width: 20vw;
left:1%;
}
.thumbnailImage img {
width:100%;
height: 100%;
object-fit: contain;
cursor: pointer;
border-radius: 5px;
}
#magnifier {
position: absolute;
background: rgba(218, 5, 147, 0.588);
visibility: hidden;
pointer-events: none;
}