CSS 縱向平鋪背景圖像
提問人:劉團(tuán)圓發(fā)布時(shí)間:2020-11-18
代碼如下:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
div{
width: 600px;
height: 600px;
border:2px solid red;
background-image: url(img/0.1.jpg);
background-repeat: repeat-y;
}
</style>
</head>
<body>
<p>這是縱向平鋪的div</p>
<div></div>
</body>
</html>
繼續(xù)查找其他問題的答案?
相關(guān)視頻回答
點(diǎn)擊加載更多評(píng)論>>