Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
z-index は (私が理解しているように) 異なるスタック コンテキストにあるため、機能しません。javascript や jquery を使用してもかまいません。固定配置要素の前に静的に配置された要素を取得する方法がわかりません。
静的に配置された要素を作成するだけposition: relative;で(どこにも移動しません)、必要な場所z-indexに配置するために使用できます。
position: relative;
z-index