首页 > Web开发 > 详细

利用css3背景位置完成拼图

时间:2018-01-10 18:14:28      阅读:293      评论:0      收藏:0      [点我收藏+]
 1     .duo {
 2             width: 623px;
 3             height: 417px;
 4             margin: 100px auto;
 5             background: url(images/bg1.png) left top no-repeat,
 6                         url(images/bg2.png) right top no-repeat,
 7                         url(images/bg3.png) right bottom no-repeat,
 8                         url(images/bg4.png) left bottom no-repeat,
 9                         url(images/bg5.png) center center no-repeat;
10             background-color: #FFF;
11         }

 

利用css3背景位置完成拼图

原文:https://www.cnblogs.com/yangguoe/p/8259818.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!