Html 我的媒体查询在移动设备中不起作用,我已经添加了视口

Html 我的媒体查询在移动设备中不起作用,我已经添加了视口,html,css,twitter-bootstrap,media-queries,Html,Css,Twitter Bootstrap,Media Queries,我的css中有一个媒体查询,但当我在移动设备中尝试它时,什么都没有发生。请帮我做这个。我的问题是在媒体查询中,.custombox的边距不起作用。我是否需要将媒体查询与另一个css文件分开?有可能有两个css覆盖引导吗 这是我的标题标签 一个重要标志是覆盖媒体查询中设置的内容。拆下!重要标志,并在.custom框的所有样式之后移动媒体查询 body { width: 100%; height: 100%; padding-top: 140px; } html {

我的css中有一个媒体查询,但当我在移动设备中尝试它时,什么都没有发生。请帮我做这个。我的问题是在媒体查询中,
.custombox
的边距不起作用。我是否需要将媒体查询与另一个css文件分开?有可能有两个css覆盖引导吗

这是我的标题标签


一个重要标志是覆盖媒体查询中设置的内容。拆下!重要标志,并在.custom框的所有样式之后移动媒体查询

body {
    width: 100%;
    height: 100%;
    padding-top: 140px; 
}

html {
    width: 100%;
    height: 100%;
}

@media(min-width:767px) {
    .navbar {
        padding: 20px 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }
    .top-nav-collapse {
        padding: 0;
    }
    .div {
        text-align: justify;
        text-justify: inter-word;
    }
    .custom-box{
        margin-left: 0px;
        margin-right: 30px;
    }  

}


.intro-section {
    height: 100%;
    padding-top: 50px;
    font-family: Impact;
    background: #fff;
    padding-bottom: 40px;

}

.re-section {
    height: 333%;
    padding-top: 10px;
    text-align: left;
    background: #eee;
}

.services-section {
    height: 100%;
    padding-top: 20px;
    text-align: left;
    background: #fff;

}

.contact-section {
    height: 100%;
    padding-top: 150px;
    text-align: center;
    background: #eee;
}
.thumbnail {
    background: #eee !important;
}
.thumbnail-img {
     height:auto;
     width:100%;
}
.custom-box{
    margin-left: 100px;

}
.cust-box {
    margin-left: 50px;
}
.img {
    border-radius: 50%;
    -webkit-transition: -webkit-transform .8s ease-in-out;
    -moz-: -moz-transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
}
.img:hover {
    -webkit-transform: rotate(360deg);
    -moz-: rotate(360deg);;
    transform: rotate(360deg);
}
#bgimage1 {
    color: #0c00ff;

     background: url(../images/solar2.jpg) no-repeat center center fixed;
     -webkit-background-size: cover;
     -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
}
#font-intro {
    font-size: 16px;
    font-family: arial;
    text-align: left;

}
#font-blue {
    color: #0c00ff;
    font-family: Impact;
    font-size: 25px;
}
#img1 {
    transition: all .2s ease-in-out;
}
#img1:hover {
    transform:scale(1.1);
}   

@media (max-width: 480px) {
    .custom-box{
        margin-left: 0px;
        margin-right: 30px;
    }
}

嗨。。谢谢你,先生
body {
    width: 100%;
    height: 100%;
    padding-top: 140px;
}
html {
    width: 100%;
    height: 100%;
}

@media(min-width:767px) {
    .navbar {
        padding: 20px 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
        margin: 
    }
    .top-nav-collapse {
        padding: 0;
    }
    .div {
        text-align: justify;
        text-justify: inter-word;
    }
    .custom-box {
        margin-left: 0px !important;
        margin-right: 30px !important;
    }

}

@media (max-width: 480px) {
    .custom-box{
        margin-left: 0px !important;
        margin-right: 30px !important;
    }
}


.intro-section {
    height: 100%;
    padding-top: 50px;
    font-family: Impact;
    background: #fff;
    padding-bottom: 40px;
}

.re-section {
    height: 333%;
    padding-top: 10px;
    text-align: left;
    background: #eee;
}

.services-section {
    height: 100%;
    padding-top: 20px;
    text-align: left;
    background: #fff;
}

.contact-section {
    height: 100%;
    padding-top: 150px;
    text-align: center;
    background: #eee;
}
.thumbnail {
    background: #eee !important;
}
.thumbnail-img {
     height:auto;
     width:100%;
}
.custom-box{
    margin-left: 100px !important;

}
.cust-box {
    margin-left: 50px !important;
}
.img {
    border-radius: 50%;
    -webkit-transition: -webkit-transform .8s ease-in-out;
    -moz-: -moz-transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
}
.img:hover {
    -webkit-transform: rotate(360deg);
    -moz-: rotate(360deg);;
    transform: rotate(360deg);
}
#bgimage1 {
    color: #0c00ff;
     background: url(../images/solar2.jpg) no-repeat center center fixed;
     -webkit-background-size: cover;
     -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
}
#font-intro {
    font-size: 16px;
    font-family: arial;
    text-align: left;

}
#font-blue {
    color: #0c00ff;
    font-family: Impact;
    font-size: 25px;
}
#img1 {
    transition: all .2s ease-in-out;
}
#img1:hover {
    transform:scale(1.1);
}
body {
    width: 100%;
    height: 100%;
    padding-top: 140px; 
}

html {
    width: 100%;
    height: 100%;
}

@media(min-width:767px) {
    .navbar {
        padding: 20px 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }
    .top-nav-collapse {
        padding: 0;
    }
    .div {
        text-align: justify;
        text-justify: inter-word;
    }
    .custom-box{
        margin-left: 0px;
        margin-right: 30px;
    }  

}


.intro-section {
    height: 100%;
    padding-top: 50px;
    font-family: Impact;
    background: #fff;
    padding-bottom: 40px;

}

.re-section {
    height: 333%;
    padding-top: 10px;
    text-align: left;
    background: #eee;
}

.services-section {
    height: 100%;
    padding-top: 20px;
    text-align: left;
    background: #fff;

}

.contact-section {
    height: 100%;
    padding-top: 150px;
    text-align: center;
    background: #eee;
}
.thumbnail {
    background: #eee !important;
}
.thumbnail-img {
     height:auto;
     width:100%;
}
.custom-box{
    margin-left: 100px;

}
.cust-box {
    margin-left: 50px;
}
.img {
    border-radius: 50%;
    -webkit-transition: -webkit-transform .8s ease-in-out;
    -moz-: -moz-transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
}
.img:hover {
    -webkit-transform: rotate(360deg);
    -moz-: rotate(360deg);;
    transform: rotate(360deg);
}
#bgimage1 {
    color: #0c00ff;

     background: url(../images/solar2.jpg) no-repeat center center fixed;
     -webkit-background-size: cover;
     -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
}
#font-intro {
    font-size: 16px;
    font-family: arial;
    text-align: left;

}
#font-blue {
    color: #0c00ff;
    font-family: Impact;
    font-size: 25px;
}
#img1 {
    transition: all .2s ease-in-out;
}
#img1:hover {
    transform:scale(1.1);
}   

@media (max-width: 480px) {
    .custom-box{
        margin-left: 0px;
        margin-right: 30px;
    }
}