作者:百厌仔小菜一碟 | 来源:互联网 | 2023-06-08 06:36
IhaveafullscreenjquerysliderandIneedtoputtwobuttonsonit(toincreaseanddecreasethe
I have a full screen jquery slider and I need to put two buttons on it (to increase and decrease the speed of the slider). I tried with z-index in the css file but it's not working.
我有一个全屏jquery滑块,我需要在其上放两个按钮(以增加和减少滑块的速度)。我在css文件中尝试使用z-index,但它无法正常工作。
div#lyr1 {
position:relative;
z-index:1;
}
.ui.button {
...
position:relative;
z-index:2;}
And here's the html code
这是html代码
How can I do it ?
我该怎么做 ?
Thank you.
谢谢。
2 个解决方案