Dealing with Responsive Design
Hey there! I'm having an issue with my Bootstrap layout. I managed to center a button, but when I adjust the resolution or make it smaller, the button wraps and shifts to the right. Can anyone help me figure out what went wrong?
--HTML--
<div class="d-grid gap-2 col-2 mx-auto text-center">
<button id="Get" class="btn btn-outline-success btn-lg" type="button">Newest Upload</button> </div>
--CSS--
#Get {
border-width: 4px;
font-family: Lexend;
}
I attempted to center the button, which worked fine on larger screens, but it shifted to the left on mobile devices. Any insights on how to fix this responsive design issue?