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

WBOY
Release: 2016-06-24 11:31:16
Original
1609 people have browsed it

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

 

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

 

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

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

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

 

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template