视差移动无法正常工作

时间:2017-06-17 10:49:18

标签: html5 twitter-bootstrap css3 responsive-design

所以我使用bootstrap来响应,我创建了一个视差类。当我调整屏幕大小时,它在我的笔记本电脑浏览器上工作正常。

然而,当我在手机上打开它时,图像才刚刚修好。

这是班级

 .parallax {
        /* The image used */
        background-image: url(......);
        /* Set a specific height */
        min-height: 350px;

        /* Create the parallax scrolling effect */
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;

    }

0 个答案:

没有答案
相关问题