<!DOCTYPE?html>
<html?lang="en">
<head>
????<meta?charset="UTF-8">
????<title></title>
????<style?type="text/css">
???????.btn{
???????????width:?100px;
???????????height:?50px;
???????????background-color:?#cc0000;
???????????color:?#ffffff;
???????????line-height:?50px;
???????????text-align:?center;
???????}
????????.arrow{
????????????display:?inline-block;
????????????width:?10px;
????????????height:?10px;
????????????background-color:?red;
????????????background:?url("./img/icon.png")?0px?-355px??no-repeat;
????????}
????</style>
</head>
<body>
????<div?class="btn">
????????測(cè)試
?<span?class="arrow"></span>
????</div>
</body>
</html>這是這樣背景圖我要求不高,只要能在谷歌和火狐瀏覽器里面背景能透明即可很著急,請(qǐng)各位大神幫我看看如何處理
添加回答
舉報(bào)
0/150
提交
取消