画面上でテキストを縦に揃えようとしています。ドキュメントこれを行う方法について。しかし、まだうまくいきません。これが私のコードです:
<div class="row">
<div class="col col-center text-center">
<h4 class="gray">This text is in the center of the screen</h4>
</div>
</div>
ベストアンサー1
html
<div class="row">
<div class="col">
<div class="text-center">
<h5 style="text-align: center;">This text is in the center of the screen</h5>
</div>
</div>
</div>