.comparator {position: relative;}

.comparator .comp-left {
  position: relative;
  z-index: 1;
}
.comparator .comp-right {
  position: absolute;
  top: 0; bottom: 0;
  right: 0;
  overflow: hidden;
  z-index: 2;
}

.comparator .is-divided {
  box-sizing: border-box;
  border-left: 1px solid rgba(255, 255, 255, .5);
}

.comparator img {
  display: block;
  margin: 0;
  vertical-align: top;
}

.comparator .comp-left img {
  width: 100%;
}

.comparator .comp-right img {
  position: absolute;
  top: 0; bottom: 0;
  right: 0;
  max-width: none;
}
