<ul>
<li><a href="{{ route('dashboard') }}">Panel</a></li>
<li><a href="{{ route('contact') }}">Contact</a></li>
<li><form style="display: inline;" method="POST" action="{{ route('logout') }}">
<button type="submit">Logout</button>
@csrf
</form></li>
</ul>
这是我的密码。但它似乎如下所示:

我该怎么做呢:

如果我使用button和form而不是a,它就不整洁。如果你帮我,我会很高兴的。
发布于 2021-08-10 13:48:44
你可以使用空白符-top。例如:
margin-top: 5px;
https://stackoverflow.com/questions/68727972
复制相似问题