智睿软件_技术交流论坛综合站长Web页面设计 → [分享]CSS 背景图片重叠集锦


  共有12963人关注过本帖树形打印

主题:[分享]CSS 背景图片重叠集锦

帅哥哟,离线,有人找我吗?
zhirui
  1楼 个性首页 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:管理员 帖子:520 积分:8740 威望:0 精华:5 注册:2009-07-07
[分享]CSS 背景图片重叠集锦  发帖心情 Post By:2014-11-21 11:17:10

 
background:url(背景图片路径)  no-repeat;/*不重复默认在左上方*/

background:url(背景图片路径) no-repeat center;/*不重复背景图片中间显示*/

background:url(背景图片路径) no-repeat bottom center;/*不重复背景图片底部中间显示*/

background:url(背景图片路径) no-repeat right top;/*不重复背景图片右上方显示*/

background:url(背景图片路径) no-repeat right bottom;/*不重复背景图片右下方显示*/

background:url(背景图片路径) no-repeat left bottom;/*不重复背景图片左下方显示*/

background:url(背景图片路径) #000 no-repeat;/*背景色上插入不重复背景图片*/

background:url(背景图片路径) no-repeat 0px 0px;/*不重复背景图片定位第一个0px是指x轴也就是横向,第二个0px是指y轴也就是纵向*/

background:url(背景图片路径) repeat-x;/*背景图片横向平铺*/

background:url(背景图片路径) repeat-y;/*背景图片纵向平铺*/

background:url(背景图片路径) repeat;/*背景图片满屏平铺*/

企业开源网站管理系统,中小型企业的成长伙伴 支持(0中立(0反对(0回到顶部