首页
极刻
圈子
教程
开源
登录 / 注册
返回教程:CSS 参考手册
TRY RUN / 在线示例
CSS 参考手册 如何重复背景图像仅水平方向
CSS 参考手册 如何重复背景图像仅水平方向
源代码
运行
<!DOCTYPE html> <html> <head> <style> body { background-image:url('/statics/images/course/paper.gif'); background-repeat:repeat-x; } </style> </head> <body> <p>repeat-x will repeat a background image only horizontally.</p> </body> </html>
运行结果