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.
我正在尝试设置一个完整的窗口 Fotorama 画廊作为我页面的背景。我让它工作得很好,除了它没有坐在我所有的内容后面(有些在前面,有些在后面。我可以改变 z-index 或其他东西让 Fotorama 坐在后面吗?
here is my code: http://jsfiddle.net/wp58mcpw/5/
将 '.fotorama' div 插入另一个 div 中(这样你就不会弄乱他的 css),现在在外部 div 上插入 css:
#fotorama_outer_div_id_here { position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; z-index: -1; }