Having some trouble fixing the display of a button when adjusting page width in Chrome using inspect and toggle device toolbar. Specifically, when the width is less than 600, the button doesn't show up. Can anyone point out what might be causing this issue? Thanks!
.login-button {
font-size: 21px;
background-color: transparent;
border: none;
position: absolute;
right: 0;
margin: 8px 10px;
display: none;
}
@media screen and (max-width: 600px) {
.login-button {
display: initial;
}
}
<button class="login-button">
<span><i class="fas fa-bars"></i> Button</span>
</button>