嗨,大家好,只是想知道为什么我不能让我的媒体查询缩小我的导航栏。我有以下的CSS:在X浏览器宽度崩溃导航栏@media查询不起作用
@media only screen and (min-device-width:1024px)
{
div.large-7.push-5.columns.last{
height: emCalc(1px);
}
}
@media only screen and (max-device-width: 745px){
.top-bar .toggle-topbar.menu-icon a {
color: $steel;
height: 34px;
line-height: 33px;
padding: 0 25px 0 0;
position: relative;
}
.top-bar .toggle-topbar.menu-icon a:after {
box-shadow: 0 10px 0 1px $steel, 0 16px 0 1px $steel, 0 22px 0 1px $steel;
content: "";
display: block;
height: 0;
position: absolute;
right: 5px;
top: 0;
width: 16px;
}
}
@media only screen and (max-device-width: 480px) {
一切都会按计划在移动,但在台式机/笔记本电脑的浏览器窗口,它不会响应像我想的时候我缩围绕745px标记的浏览器。我不知道为什么,也无法在这个问题上找到任何帮助。如果您希望看到该网站的行动,它是www.omegadesignla.com。预先感谢真棒输入和upvotes。
我试着取出“设备”,但它并没有区别 – Omegaman 2014-10-28 23:10:47