* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f3fbff;
}

.img-box {
  width: 60%;
  margin: auto;
  line-height: 0;
  background-image: url(imgs/background.png);
  overflow: hidden;
  position: relative;
}

.img-wrap {
  width: 120px;
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
}

span {
  width: 1px;
  height: 100%;
  cursor: ew-resize;
  background: #fff;
  position: absolute;
  left: 120px;
  top: 0;
}

.arrow {
  width: 40px;
  position: absolute;
  top: 50%;
  margin-left: -20px;
  margin-top: -20px;
}
