We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0460166 commit e47a992Copy full SHA for e47a992
image-comparison-web/demo.css
@@ -60,3 +60,32 @@
60
padding-bottom: 2em;
61
color: #3f5087;
62
}
63
+
64
65
+* {box-sizing: border-box;}
66
67
+.img-comp-container {
68
+ position: relative;
69
+}
70
71
+.img-comp-img {
72
+ position: absolute;
73
+ overflow:hidden;
74
75
76
+.img-comp-img canvas {
77
+ display:block;
78
+ vertical-align:middle;
79
80
81
+.img-comp-slider {
82
83
+ z-index: 9;
84
+ cursor: ew-resize;
85
+ /*set the appearance of the slider:*/
86
+ width: 40px;
87
+ height: 40px;
88
+ background-color: #2196F3;
89
+ opacity: 0.7;
90
+ border-radius: 50%;
91
0 commit comments