1

我正在尝试设置一个完整的窗口 Fotorama 画廊作为我页面的背景。我让它工作得很好,除了它没有坐在我所有的内容后面(有些在前面,有些在后面。我可以改变 z-index 或其他东西让 Fotorama 坐在后面吗?

here is my code: http://jsfiddle.net/wp58mcpw/5/
4

1 回答 1

0

将 '.fotorama' div 插入另一个 div 中(这样你就不会弄乱他的 css),现在在外部 div 上插入 css:

#fotorama_outer_div_id_here {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: -1;
}
于 2014-10-07T22:41:00.140 回答