我的网站在Mobile Safari上崩溃,但在桌面上工作正常.
我怎样才能确定它崩溃的原因?
我正在使用带有bootstrap 3的平面UI主题.平面UI主题导航栏无法正常工作,并且很多人在github上发布了类似的问题.所以我决定只使用默认的BS3导航栏并编写我自己的代码(在另一个stackoverflow线程的帮助下)按照我想要的方式设置菜单样式.我在LESS作为覆盖css这样做.
问题是我无法弄清楚如何更改以下内容.
这是我正在使用的CSS:
/* navbar */
.navbar-default {
font-size: floor(@component-font-size-base * 1.067); // ~16px
border-radius: @border-radius-large;
border: none;
background-color: @brand-primary !important;
}
/* title */
.navbar-default .navbar-brand {
color: #5E5E5E;
}
/* link */
.navbar-default .navbar-nav > li > a {
color: @clouds;
}
.navbar-default .navbar-nav > li > a:hover {
color: @clouds;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
color: @clouds;
background-color: …Run Code Online (Sandbox Code Playgroud)