bootstrap怎么文本左右对齐?
2 回答

开满天机
TA贡献1786条经验 获得超13个赞
使用这个class: text-left (文本左对齐) text-right(文本右对齐) text-justify(文本左右对齐)
的这种情况,应该使用 text-let

眼眸繁星
TA贡献1873条经验 获得超9个赞
您好,您需要的关键语句如下:
.text-left:左对齐
.text-center:居中对齐
.text-right:右对齐
.text-justify:两端对齐
完整语句及标注如下:
<p class="text-left">我居左</p>
<p class="text-center">我居中</p>
<p class="text-right">我居右</p>
<p class="text-justify">
- 2 回答
- 0 关注
- 2152 浏览
添加回答
举报
0/150
提交
取消