0

所以我计划制作这个非常长的图像,它现在很小,但我将高度增加到我预期的长度。到目前为止,这是我的代码:

    <!doctype html>
<meta charset="utf-8">
<head>
<style>
body {background-color: black}
.image {background-image: url('http://i.imgur.com/JrsEkO9.jpg');
        width: 640px;
        height: 25000px;
        position: absolute;
        left: 50%;
        top: 40%;
        margin:-228px 0 0 -400px;
        repeat-x: no;
        -webkit-background-size: 640px 25000px;
        min-width: 640px;
        min-height: 25000px;}
</style>
</head>
<html>
<body>
<div class="image">
</div>
</html>
</body>

看起来我希望它会在桌面上,但是当在 ipad 上打开时,图像很模糊。有什么建议么?这是查看问题的链接:http: //bit.ly/HrG9oc

4

0 回答 0