I'm attempting to incorporate a country code and phone number using Bootstrap v5 input group. Unfortunately, the code I'm using doesn't seem to be functioning correctly.
I would like the format to be adjusted by changing the width. Is that a feasible possibility?
.phone-code {
width: 63px;
}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="accec3c3d8dfd8decddcec99829f829e">[email protected]</a>/dist/css/bootstrap.min.css" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<div class="input-group">
<input type="tel" class="form-control mb-2 phone-code" id="" placeholder="" value="+971">
<input type="tel" class="form-control mb-2" id="phone-formatted" placeholder="Enter your phone number">
</div>