gpt4 book ai didi

css - 在 slider 顶部叠加图像

转载 作者:行者123 更新时间:2023-11-28 13:32:09 25 4
gpt4 key购买 nike

我想在我的 slider 顶部放置一个图像 - slider 中图像两侧的卷轴。 BitsyBride.com

现在它们是 prev next 链接,但是,正如您通过调整浏览器大小可以看到的那样,它们跳来跳去。我在那个问题上认输了,只想让它们成为装饰性的形象。

那么,我该如何在上面放置图像呢?

#sliderwrap {
width: 100%;
padding: 40px 0;
overflow: hidden;
position: relative;
background-image: url(http://bitsybride.com/wp-content/themes/basement/images/linen3.png);
}

最佳答案

你会推荐我把它放在我的画廊里什么地方?

#mygallery{ padding:0;position: relative;}

.stepcarousel{
position: relative; /*leave this value alone*/
overflow: scroll; /*leave this value alone*/
width: 980px; /*Width of Carousel Viewer itself*/
height:300px; /*Height should enough to fit largest content's height*/
margin:0 auto;
padding:0;
}

.stepcarousel .belt{
position: absolute; /*leave this value alone*/
left: 0;
top: 0px;
}

.stepcarousel .panel{
float: right; /*leave this value alone*/
margin:0 40px 0 0;
border:none;
}

.thumb-title{
top:-105px;
right:0;
display:block;
position:absolute;
width: 250px; height:68px;
background: #eee url(images/line-h-l.png) top repeat-x;
margin:0;
overflow:hidden;
text-shadow:0 1px 1px #333;
}



.thumb-title-clear{
padding:10px 20px 10px 20px;
height:48px;
overflow:hidden;
}

.thumb-title h2 a {
display:block;
text-decoration: none;
font-size:16pt;
line-height:18pt;
height:50px;
overflow:hidden;
font-weight:bold;
}

.thumb-title h2 a:hover {
}



.stepcarousel .slideimg{
float: left; /*leave this value alone*/
background: #000 /*clip content that go outside dimensions of holding panel DIV*/
margin:0; /*margin around each panel*/
padding:0;
width:300px;
height:300px;
overflow:hidden;
border-radius:15px;
-moz-border-radius:15px; /* Firefox 3.6 and earlier */
}

关于css - 在 slider 顶部叠加图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13434247/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com