【问题标题】:bootstrap fixed button in window right bottom corner with bootstrap带有引导程序的窗口右下角的引导程序固定按钮
【发布时间】:2019-06-10 15:27:58
【问题描述】:

是否有可能,如果是的话 - 如何将简单的按钮放入固定的窗口页面右下角,否则(不太擅长css)它总是在那里,如果我向下或向上滚动,或调整窗口大小?我正在使用引导程序 3

【问题讨论】:

  • button { position: fixed; bottom: 0px; right: 0px; }
  • 哦...是的...为什么我没有得到它..://谢​​谢!
  • @abhitalks 您应该将其添加为答案,这也可能对其他用户有所帮助。

标签: jquery html css twitter-bootstrap


【解决方案1】:

按钮{ position: fixed; bottom: 0px; right: 0px; }

无论您需要什么底部和右侧像素 :)

我在两者中都使用20px

【讨论】:

  • 仅适用于桌面。移动设备有问题,仍在寻找解决方案。谁知道如何在移动设备上修复固定位置!?
【解决方案2】:
 <a style="position:absolute;bottom:5px;right:5px;margin:0;padding:5px 3px;" href="#">GO BACK</a>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-12-30
    • 2020-07-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多