-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss_image.css
More file actions
52 lines (49 loc) · 819 Bytes
/
Copy pathcss_image.css
File metadata and controls
52 lines (49 loc) · 819 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
51
52
*{
margin: 0px;
background-color: #404552
}
div{
overflow: auto;
position : fixed;
background-color:#404552;
height: 89%;
width: 100%
}
img{
margin : 0;
position: absolute;
top : 50%;
left : 50%;
margin-right: -50%;
transform : translate(-50%, -50%);
height: 90%;
width: 90%;
}
::-webkit-scrollbar{ /*size of scrollbar*/
width: 5px;
height: 5px;
}
::-webkit-scrollbar-track{ /*designing of track*/
box-shadow: inset 0 0 5px grey;
border-radius: 10px;
}
::-webkit-scrollbar-thumb{ /*thumb design*/
background: red;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover{
background: #b30000;
}
@media print {
body * {
visibility: hidden;
}
#imageTag, #imageTag * {
visibility: visible;
}
#imageTag {
position: absolute;
left: 0;
top: 0;
}
}