Sorry if this is somewhere else on the form and I just didn’t find it.
When making a website I can be useful for debugging or just because you want to or some other reasons I cant think of but Microsoft edge has a really neat feature called “3d view” letting you get a better visualization of how the site is put together with z indexing and all that I’m not great at explaining.
Navigate webpage layers, z-index, and DOM using the 3D View tool - Microsoft Edge Developer documentation | Microsoft Learn