我有一個簡單的網頁,只有一個完整大小的圖像背景。我該怎麼做才能使其移動友好? CSS的是這樣的:如何讓我的簡單網站移動設備友好?
html{
background: url(images/grindif1.jpg) 50% no-repeat;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-color: green;
min-height:100%;
background-size:cover;
}
你在想什麼? –
我沒有看到任何移動不友善的地方。你有特定的問題嗎? – mplungjan
這看起來很正常!什麼不是你想要的? – DanyCode