css样式之背景图片
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>
塑造ing