|
| |
名片设计 CorelDRAW Illustrator AuotoCAD Painter 其他软件 Photoshop Fireworks Flash |
|
语法: background-repeat : repeat | no-repeat | repeat-x | repeat-y 取值: repeat :?? 默认值。背景图像在纵向和横向上平铺 no-repeat :?? 背景图像不平铺 repeat-x :?? 背景图像仅在横向上平铺 repeat-y :?? 背景图像仅在纵向上平铺 说明: 设置或检索对象的背景图像是否及如何铺排。必须先指定对象的背景图像( background-image )。 此属性对于 currentStyle 对象而言是只读的。对于其他对象而言是可读写的。 对应的脚本特性为 backgroundRepeat 。 示例: menu { background: url("images/aardvark.gif"); background-repeat: repeat-y; } p { background: url("images/aardvark.gif"); background-repeat: no-repeat; } 返回类别: 教程 上一教程: CSS背景:BACKGROUND-POSITION-X 下一教程: 禁止网页另存为 您可以阅读与"CSS背景:BACKGROUND-REPEAT"相关的教程: · CSS背景:BACKGROUND-ATTACHMENT · CSS背景:BACKGROUND-IMAGE · CSS背景:BACKGROUND-COLOR · CSS背景:BACKGROUND · CSS背景:BACKGROUND-POSITION |
| 快精灵印艺坊 版权所有 |
首页 |
||