
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
.img-container {
position: relative;
width: 200px;
height: 100px;
border: 5px solid red;
}
.img-left {
background: url(img/1.jpg);
background-size: cover;
width: 100%;
height: 100px;
}
.img-right {
position: absolute;
left: 0;
top: 0;
background: url(img/2.jpg);
background-size: cover;
-webkit-mask-image: -webkit-linear-gradient(left top, transparent 50%, white 50%);
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div class="img-container">
<div class="img-left"></div>
<div class="img-right"></div>
</div>
</body>
</html>