html - Bootstrap : Is it possible to add search form on carousel

标签 html css twitter-bootstrap-3

我使用 Bootstrap 3。我刚刚创建了带有旋转木马 slider 的主页。它工作得很好。我必须在页面上添加一个搜索表单。我想知道是否可以在轮播中添加搜索表单。所以即使轮播图片发生变化,表单也始终保持在当前幻灯片上(就像网络上的Air b and b https://fr.airbnb.com/) Bootstrap 3 有可能吗? 谢谢

最佳答案

这是一个例子:http://bootply.com/108847

#searchForm 将使用以下方式覆盖轮播:

#searchForm {
    position:absolute;
    top:45%;
}

关于html - Bootstrap : Is it possible to add search form on carousel,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21386427/

相关文章:

css - -webkit-keyframes 的性能

jquery - 为什么在对元素进行动画处理后,我的悬停状态仍保持激活状态?

html - 如何在 Bootstrap 3 中添加 10 个相等的列

html - Bootstrap 中的偏移列

css - 使用 Bootstrap 将表单放在页面中心

javascript - 除一个元素外,如何使页面变灰?

c# - 在 C# 中打印格式化的 HTML 页面

javascript - CSS 跨度 :hover doesn't work in IE but works in Firefox

jquery - 选择所有带有 png background-image 的 div

html - Scrapy - 从具有特定属性值的链接中提取 href