老师您好!为什么我插入背景图不显示呢?,用vscode编辑的
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>css</title>
<style>
*{border:0;
margin:0;
}
.bigfather{
width:100%;
border:1px dashed black;
background-image: url(http://img1.sycdn.imooc.com/climg//59c9f7ce0001839219034033.png);
background-repeat: no-repeat;
}
</style>
</head>
<body>
<div class="bigfather">
</div>
</body>
</html>
0
收起
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星