标签:
1、css样式背景之使用图片来做为背景
example:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>页面一</title>
<style>
.logo{
background:url(‘image/gouwu.image‘) -19px -18px;height:20px;width:20px; no-repeat;
}
</style>
</head>
<body>
<div class=‘logo‘ ></div>
</body>
</html>
标签:
原文地址:http://www.cnblogs.com/guojianglin/p/4845153.html