col-md-offset-2 bootstrap 4 code example
Example 1: col offset in bootstrap
.col-md-3 .offset-md-3
Example 2: .col-12 bootstrap
.col-12{
flex: 0 0 100%;
max-width: 100%;
}
Example 3: col-md-offset-2 bootstrap 4
<input class="col-md-offset-4 col-md-4 col-sm-offset-2 col-sm-8 col-xs-offset-1 col-xs-10" value="XXXXXXXX" style="text-align: center;" disabled="">