拼图效果
实例:
程序代码:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>拼图效果</title>
<style>
.big{
width: 620px;
height: 470px;
border:#675E5E 2px solid;
margin: 50px auto;
border-radius: 50px;}
.up{
width: 610px;
height: 225px;
background-image:url("01.jpg"),url("02.jpg"),url("03.jpg");
background-repeat: no-repeat;
background-position: left ,center ,right ;
border-radius: 50px 50px 0 0 ;
padding: 5px;}
.down{
width: 610px;
height: 225px;
background-image:url("04.jpg"),url("05.jpg"),url("06.jpg");
background-repeat: no-repeat;
background-position: left,center,right;
border-radius: 0 0 50px 50px;
padding: 5px;}
</style>
</head>
<body>
<div class="big">
<div class="up"></div>
<div class="down"></div>
</div>
</body>
</html>