幫我看看我的代碼問題,還有20這個(gè)取值是自己定的嗎?
<!doctype?html>
<html>
<head>
<meta?charset="utf-8">
<title>邊框圖片</title>
<style>
#border_image{
??????margin:0?auto;
??????height:100px;
??????line-height:100px;
??????text-align:center;
??????font-size:30px;
??????width:450px;
??????border:15px?solid?#ccc;
??????border-image:url(?20?repeat;
??????}
</style>
</head>
<body>
<div?id="border-image">
請(qǐng)為我鑲嵌上漂亮的畫框吧
</div>
</body>
</html>
2023-12-23
啊這!??!我沒看到border-imagn后面的值被我不小心刪掉了,但是我在任務(wù)那里沒掉,對(duì)比好幾次也沒錯(cuò),可是提交他顯示出錯(cuò),為什么啊,還有切割圖片這個(gè)寬度值為什么是20呢