bootstrap怎么设置背景图片自适应


当前第2页 返回上一页

3、如果需要图片不随滚动条滚动,即固定不动则加fixd

1

2

3

4

.bg {

       background:url(图片地址) no-repeat center fixed;

       background-size:contain;

}

原文章地址:https://www.cnblogs.com/Hayley1666/p/8479491.html

以上就是bootstrap怎么设置背景图片自适应的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

bootstrap用什么开发工具

快速入门bootstrapvue

bootstrap的组件有哪些?

bootstrap table 怎么绑定数据

html如何引用bootstrap

bootstrap-table 表格行内编辑实现

bootstrap如何让div居右

bootstrap和layui的区别

vue.js和bootstrap之间有什么区别?

bootstrap怎么设置行高

更多相关阅读请进入《bootstrap》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...