Is there a way to remove an HTML element using the display:none property when the screen width is below 500px?
@media (max-width:500px)
{
button { display:none};
}
<button>Test</button>
The issue at hand is that the button disappears when the screen width is less than 300px instead of 500px