Order of z-index elements on bxslider

前端 未结 3 1776
走了就别回头了
走了就别回头了 2021-01-25 08:59

I need to order the contents of a bxslider with a no-child element. between the image and the text over the top.

e.g

3条回答
  •  天涯浪人
    2021-01-25 09:35

    My late reply... BXSlider has zIndexing within the JS (read more here: http://bxslider.com/docs/jquery.bxslider.html). The best way I have found to get around the flicker in any slide, whatever direction it appears in is if you nest your content inside the

      within another
      . In my experiments, this seems to cause no distracting reordering of the visible or unwanted invisible layers.

      Here's an example for your slides:

      • ... this content will be above everything else ...
      • ... this content will be also be above ...

      Note: z-index needs a position declaration to work at all.

    提交回复
热议问题