Css 需要引导列中的帮助吗
我正在尝试写一个地址字段。我想在城市和邮政编码的右侧显示州和国家Css 需要引导列中的帮助吗,css,bootstrap-4,Css,Bootstrap 4,我正在尝试写一个地址字段。我想在城市和邮政编码的右侧显示州和国家 输入您的地址 对现有代码进行细微调整,以获得所需内容 在小尺寸上,占据所有12列 邮政编码、城市、国家和州的其他6列 输入您的地址 尝试使用此结构 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> <div class="row"> &
输入您的地址
对现有代码进行细微调整,以获得所需内容
- 在小尺寸上,占据所有12列
- 邮政编码、城市、国家和州的其他6列
输入您的地址
尝试使用此结构
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<div class="row">
<div class="col-md-12">
<div class="need-info">
<p class="info-title">Enter Your Address.</p>
<input type="text" class="form-control" placeholder="Address line 1.">
</div>
<div class="need-info">
<input type="text" class="form-control" placeholder="Address line 2.">
</div>
</div>
<div class="col-md-6">
<div class="need-info">
<input type="text" class="form-control" placeholder="City">
</div>
</div>
<div class="col-md-6">
<div class="need-info">
<input type="text" class="form-control" placeholder="State">
</div>
</div>
<div class="col-md-6">
<div class="need-info">
<input type="number" class="form-control" placeholder="Postal Code">
</div>
</div>
<div class="col-md-6">
<div class="need-info">
<input type="text" class="form-control" placeholder="Country">
</div>
</div>
</div>
输入您的地址