我想将navbar-brand
移到右边。默认位置与另一个按钮有点重叠。我该怎么做?
这是我的html代码:
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<button type="button" id="sidebarCollapse" class="navbar-btn">
<span></span>
<span></span>
<span></sp<an>
</button>
<a class="navbar-brand" href="#" >Agora</a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<form class="form-inline mx-auto my-2">
<input class="form-control mr-sm-1" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
我必须使用CSS吗? 代码是公认的:)