<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>test</title>
</head>
<body>
<div style="width:300px; height:300px;">
<div style="width:100%; height:100%;background-image:url('./banner1.png'); position:relative;background-repeat: no-repeat;background-size: cover;">
<div style="width:20%; height:20%;background-image:url('./banner2.png'); position:absolute; bottom:0;right: 0;; background-repeat: no-repeat;background-size: cover;">
</div>
</div>
</div>
</body>
</html>
效果: