修改 navbar 的居中实现,防止闪跳
This commit is contained in:
parent
8814c3dedf
commit
711ef807e5
|
@ -12,6 +12,12 @@
|
|||
backdrop-filter: blur(20px);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* 使导航栏视觉上居中 */
|
||||
.navbar ul.navbar-nav li:last-child{
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* 底部网安备案图标调整 */
|
||||
#nis:before {
|
||||
content:url(beian.png);
|
||||
|
|
|
@ -153,7 +153,6 @@
|
|||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<script>$(document).ready(function(){$(".navbar ul.navbar-nav li:last-child").addClass("mr-0");});</script>
|
||||
|
||||
<div id="body">
|
||||
<div class="container">
|
||||
|
|
|
@ -146,7 +146,6 @@ $this->need('functions.php'); // 不知道为啥,似乎模版页面不会自
|
|||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<script>$(document).ready(function(){$(".navbar ul.navbar-nav li:last-child").addClass("mr-0");});</script>
|
||||
|
||||
<footer class="mt-5 mb-5" id="footer" role="footer">
|
||||
<div class="container">
|
||||
|
|
Loading…
Reference in New Issue