网站在本地调整大小但不在服务器上调整,我做错了什么?

时间:2016-12-29 00:29:53

标签: html css html5 twitter-bootstrap web

我设法根据宽度调整网站大小,但是当我将其上传到我的服务器时,它无法正常工作。

图片显示本地和网站

enter image description here

@media(max-width: 990px){

    .jumbotron img{
        width:80%;
}
    .jumbotron video{
        display: none;

    }
@media(min-width: 200px) and (max-width:780px ){

    .jumbotron img{
        width:180%;
    }

    .jumbotron #Tag-Line{
        font-size: 25px;

    }

    #aboutme h1{
        font-size: 20px;
    }

    #aboutme img{
        display: none;
    }

    #skills p{
        font-size: 16px;
    }
    }

1 个答案:

答案 0 :(得分:0)

当我将文件复制到服务器时发现问题我做了html / *而不是html /。它还复制隐藏文件。不确定哪个特定的隐藏文件正在完成这项工作,但它现在正在运行。