设置网页背景图片平铺方式 background-repeat 属性
来源:互联网 发布:oa软件开发公司 编辑:程序博客网 时间:2024/05/16 11:46
Sets or retrieves how the backgroundImage property of the object is tiled.
Syntax
HTML { background-repeat : sRepeat }Scripting object.style.backgroundRepeat [ = sRepeat ]
Possible Values
sRepeat String that specifies or receives one of the following values. repeat Default. Image is repeated horizontally and vertically. no-repeat Image is not repeated. repeat-x Image is repeated horizontally. repeat-y Image is repeated vertically.The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has a default value of repeat. The Cascading Style Sheets (CSS) attribute is not inherited.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.
例子:
.bg{
background-attachment: scroll;
background-image: url(../image/bg.png);
background-repeat: repeat-x;
background-position: center top;
background-color: #cee6f3;
}
- 设置网页背景图片平铺方式 background-repeat 属性
- css中设置网页背景图片平铺但不重复
- Android 背景图片重复平铺 Background repeat
- Android 背景图片重复平铺 Background repeat
- CSS background-repeat 属性
- CSS background-repeat 属性
- CSS background-repeat 属性
- CSS background-repeat属性
- 图片平铺 repeat-x repeat-y
- 设置平铺的方式拉伸图片
- background-position css图片平铺
- CSS background-repeat 属性示例
- 动态设置网页背景图片
- Html设置网页背景图片
- HTML5网页背景图片属性练习
- 将图片设置为网页背景
- background-repeat
- android 图片水平重复平铺(repeat x)
- ffu噪音
- 焦点滚动图片
- 今天见到了袁鸣和当当网的俞渝
- 采用p6spy完整显示hibernate的SQL语句
- 计算字符的组合量并一一列举出来(java,算法探讨)
- 设置网页背景图片平铺方式 background-repeat 属性
- 求解KMP算法及next值
- WEB程序员学习JS快速指南--基础一
- SRC的RPM包安装方法
- AdvancedArray2.java
- C /C 笔试题-C/C 笔试、面试题目大汇总
- 两首才流传开的2008童谣,看了鼻子酸酸,请珍惜生活_赵老猫—环保居士的BLOG_新浪博客
- 关于C++中的类型转换
- 公司台湾主站的url重写