1. 程式人生 > >background-blend-mode疊加代碼

background-blend-mode疊加代碼

over idt end body cover pos html container gpo

<html>
<head>
<style>
.container {
    background: url("p1.jpg"), url("p2.jpg");	
    background-size:cover;    
    background-blend-mode: lighten;
    width:500px;
    height:500px;
}
</style>
</head>
<body>
	<div class="container"></div>
</body>

</html>

  

background-blend-mode疊加代碼