.wrapper{position:relative;width:200px;height:400px;cursor:ew-resize;user-select:none;overflow:hidden;border-radius:8px;margin:20px}.layer{inset:0}.layer,.line{position:absolute}.line{top:0;bottom:0;width:2px;background:#fff;transform:translateX(-50%);box-shadow:0 0 4px rgba(0,0,0,.25);pointer-events:none}