私の行の1つでは、最大幅を置いて、そのdiv内にテキストを配置したいと思います。:親の真ん中に最大幅とテキストを配置する
マイホームページのテキストは、現在のように見える
私はこの1つのセクション内の最大幅と中央にテキストを配置したいと思います。
理想の結果:
CSS
.homepage-text {
font-size: 130%;
}
.light-section {
background-color: lightblue;
/* color: white; */
text-align: center:
}
HTML
<div class="row light-section">
<div class="col-sm-12">
<div class="col-sm-12 homepage-text">
<p>Text sit's here</p>
</div></div></div>
ライブリンク:http://185.123.97.138/~kidsdrum/moneynest.co.uk/
おかげでチームメイト、750pxに最大幅を切り替え、それはどういたしまして –
完璧でした! – lomboboo