20230517のCSSに関する記事は1件です。

container-type: inline-sizeを親に指定したら子や孫要素でposition: fixedが使えない

概要 タイトルそのままです。 .parent { container-type: inline-size } .child { position: fixed; } <div class="pare…
  • このエントリーをはてなブックマークに追加
  • Qiitaで続きを読む