回答編集履歴
1
仕様へのリンクを追加
answer
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
いえ、ブロック要素になります。
|
2
2
|
|
3
3
|
> gridやflexの値がついた親は、そのboxのdisplay typeをブロック化する。
|
4
|
-
> [Automatic Box Type Transformations | メモログ](https://memolog.org/2020/automatic-box-type-transformations.html)
|
4
|
+
> [Automatic Box Type Transformations | メモログ](https://memolog.org/2020/automatic-box-type-transformations.html)
|
5
|
+
|
6
|
+
|
7
|
+
> The display value of a flex item is blockified: if the specified display of an in-flow child of an element generating a flex container is an inline-level value, it computes to its block-level equivalent.
|
8
|
+
> [CSS Flexible Box Layout Module Level 1](https://www.w3.org/TR/css-flexbox-1/#flex-items)
|