Bootstrap4:导航栏右侧对齐

Bootstrap 版本: bootstrap-4.0.0-beta.2html 经过Bootstrap4 的 Flex 布局能够很容易地将导航栏右侧对齐,只须要在包含导航栏的 <div> 加上 .justify-content-end 样式便可。web 示例:bootstrap <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
相关文章
相关标签/搜索