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