Having a bit of trouble trying to adjust the position of a button inside an input field using bootstrap. The button appears centered within the form field, but I need it to be slightly shifted to the right for design consistency.
https://i.stack.imgur.com/9bTh5.png
I've experimented with CSS to solve this issue, however, when viewing the website on my mobile device, the button moves out of place and extends beyond the container. Could someone assist me in resolving this problem? Below is the code snippet I utilized with bootstrap:
<div class="input-group mt-5 mb-3">
<input type="text" class="email mx-auto" placeholder="Enter Your Email Address">
<button class="position-absolute top-50 start-50 translate-middle btn btn-primary" type="button" id="letterbtn">Signup</button>
</div>
The provided bootstrap code centers the button vertically and horizontally