-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsplitview.css
45 lines (39 loc) · 842 Bytes
/
splitview.css
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
#elems {
position: relative;
display: inline-block;
}
#leftVidDiv, #leftImgDiv {
position: absolute;
top: 0px;
overflow: hidden;
z-index: 1;
}
#rightVidDiv, #rightImgDiv {
z-index: 0;
}
/* When the slider is selected with Gecko, a focus ring that cannot be removed
appears in the middle of the videos, see
https://bugzilla.mozilla.org/show_bug.cgi?id=932410 */
#splitSlider {
-webkit-appearance: none;
z-index: 2;
position: absolute;
height: 0px;
left: 0px;
}
#splitSlider::-webkit-slider-thumb {
-webkit-appearance: none;
background: red;
opacity: 0.5;
width: 10px;
}
#splitSlider::-moz-range-thumb {
-moz-appearance: none;
background: red;
opacity: 0.5;
width: 10px;
}
#splitSlider::-moz-range-track {
-moz-appearance: none;
opacity: 0;
}