Home  >  Article  >  Web Front-end  >  CSS设置背景图片代码_html/css_WEB-ITnose

CSS设置背景图片代码_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:31:161605browse

CSS设置背景图片代码:
设置背景图片并不难,但是有时候会忘记url的格式怎么写,之所以写这篇文章,就是让忘记者查询到,寄希望提供一定的帮助。
代码如下:

 

background-image:url(mytest/demo/small.jpg)

 

相关阅读:
1.background属性可以参阅background属性用法详解一章节。 
2.background-image可以参阅CSS的background-image属性一章节。

原文地址是:http://www.softwhy.com/forum.php?mod=viewthread&tid=9663

更多内容可以参阅:http://www.softwhy.com/divcss/

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn