16
2

More than 3 years have passed since last update.

tailwindでの中央寄せの方法

Posted at

tailwindでの中央寄せの方法

自分用メモとして随時更新していく

flexを使う方法

flex justify-center

<div class="flex justify-center ...">
  <div>1</div>
  <div>2</div>
  <div>3</div>
</div>
参考

tailwindドキュメント

16
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
2