0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

箱の中の要素の中心を揃える【Tailwind CSS】

Last updated at Posted at 2021-05-18

flex内の要素(四角形)などの頭を揃えるのはではなくて、
その要素の中心を親flexの上下の中心に揃うようにするには
(頭はバラバラだが高さの真ん中には揃う)
大枠に“flex”と“align-items”をつける

無題の図形描画.jpg
無題の図形描画 (1).jpg

0
0
0

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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?