[英]css doesn't work in macbook pro retina
I use google chrome and mozilla firefox. 我使用谷歌浏览器和Mozilla Firefox。
My menu bar in windows works perfectly. 我在Windows中的菜单栏运行完美。 http://i.stack.imgur.com/n2yPV.jpg http://i.stack.imgur.com/n2yPV.jpg
But in mac appears like this. 但是在Mac中看起来像这样。 http://i.stack.imgur.com/Gv5GB.jpg http://i.stack.imgur.com/Gv5GB.jpg
This is my code: 这是我的代码:
@media (min-width: 1440px) and (max-width: 1920px) {
.last-item .menu-title {
margin-right: 3px;
}
#leo-mainnav ul li.last-item.active {
background-color: #001b48;
color: #fff;
width: 134px;
}
#leo-mainnav ul li.last-item:hover {
background-color: #001b48;
color: #fff;
width: 134px;
}
}
您必须确保在网络浏览器中确定应该使用什么才能使公式起作用http://www.w3schools.com/cssref/css3_browsersupport.asp
您是否使用normalise.css在所有浏览器中重置了CSS?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.