32 篇
建站知识总结与分享
搜索“bootstrap5”
bootstrap5,改变bootstrap多选框的颜色
taotaoit 0 0
809 0 2023-11-17 Bootstrap
bootstrap5,改变bootstrap多选框的颜色 默认复选框的样式是这样的 打开浏览器调试模式,发现它的样式 需要实现的样式是这样的 我们只需要重写一下bootstrap的样式就可以了 .shoplist_hd2 .form-check-input{ border-rad...
bootstrap5 flex布局实现一栏固定宽度
taotaoit 0 0
1148 0 2022-07-13 Bootstrap5
bootstrap5 flex布局实现一栏固定宽度 代码: <p class="d-flex mt-4"> <span class="footer_tel2 flex-shrink-0"> <img src="__HOME__/images/addr2.png" alt=""...
bootstrap5 字体大小fs-1到fs-6
taotaoit 0 0
1368 0 2022-07-05 Bootstrap5
bootstrap5 字体大小fs-1到fs-6 css代码 .fs-1 { font-size: calc(1.375rem + 1.5vw) !important; } .fs-2 { font-size: calc(1.325rem + 0.9vw) !important; } .fs-3 { ...
bootstrap5 阴影
taotaoit 0 0
936 0 2022-07-05 Bootstrap5
效果: html代码: <div class="shadow-none p-3 mb-5 bg-light rounded">No shadow</div> <div class="shadow-sm p-3 mb-5 bg-body rounded">Small ...
bootstrap5 列布局col不够12份,两端对齐
taotaoit 0 0
937 0 2022-07-05 Bootstrap5
bootstrap5 列布局col不够12份,两端对齐 如图: 代码: <div class="container"> <div class="row justify-content-start"> <div class="col-4"> ...
bootstrap5 字体加粗样式.fw-bold .fw-bolder
taotaoit 0 0
1479 0 2022-07-04 Bootstrap5
bootstrap5 字体加粗样式.fw-bold  .fw-bolder .fw-light { font-weight: 300 !important; } .fw-lighter { font-weight: lighter !important; } .fw-normal { font-weigh...
bootstrap5 横线(水平线)hr的使用
taotaoit 0 0
3441 0 2022-06-15 Bootstrap5
bootstrap5 横线(水平线)hr的使用 css样式: hr { margin: 1rem 0; color: inherit; background-color: currentColor; border: 0; opacity: 0.25; } hr:not([size]) { heigh...
bootstrap5行高lh-1,lh-sm,lh-base,lh-lg
taotaoit 0 0
1275 0 2022-06-14 Bootstrap5
bootstrap5行高lh-1,lh-sm,lh-base,lh-lg css代码 .lh-1 { line-height: 1 !important; } .lh-sm { line-height: 1.25 !important; } .lh-base { line-height: 1.5 !impor...
https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css net::ERR_CERT_COMMON_NAME_INVALID
taotaoit 1 0
2702 0 2021-12-20 Bootstrap5
https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css net::ERR_CERT_COMMON_NAME_INVALID 之前做好的网站,访问的时候都错位了,f12打开浏览器调试模式,提示如下错误: 是bootstrap cd...
bootstrap5 d-none隐藏与jquery show()冲突
web 1 0
2286 0 2021-11-01 Bootstrap5
bootstrap5 d-none隐藏与jquery show()冲突 假设我创建了一个这样的 HTML 元素, <div id="my-div" class="d-none">Hello, TB5</div> 我如何从 jQuery/Javascript 显示和隐藏该 HTML 元素。 $(funct...
bootstrap5 实现col右对齐
taotaoit 1 0
3131 0 2021-10-27 Bootstrap5
实现效果:搜索框右对齐 方式一:由于bootstrap5 列构建在网格的弹性盒子体系结构上,所以我们直接使用flex布局样式.justify-content-end,控制右对齐 <div class="container"> <div class="row justify-content-end...
引用bootstrap5 cdn不起作用
taotaoit 1 0
2055 0 2021-10-05 Bootstrap5
引用bootstrap5 cdn不起作用,打开浏览器调试模式,提示 "Failed to find a valid digest in the 'integrity' attribute for resource 'https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/boo...
bootstrap5 flex布局响应式
taotaoit 1 0
1475 0 2021-09-19 Bootstrap5
bootstrap5中使用flex布局支持响应式 比如,pc版需要右对齐,手机版需要左对齐 那么就可以 <div class="d-flex justify-content-start justify-content-lg-end "> <div>123</di...
bootstrap5实现响应式边框
taotaoit 1 0
1320 0 2021-09-19 Bootstrap5
有时候我们需要pc版有边框,手机版没边框, bootstrap5好像没有对应的响应式,可以自己写一个 css @media (min-width: 992px) { .border-lg-end{ border-right: 1px solid #dee2e6 !important; } .bord...
bootstrap5实现左右居中 .mx-auto
taotaoit 1 0
2187 0 2021-09-15 Bootstrap5
bootstrap5实现左右居中 .mx-auto css: .mx-auto { margin-right: auto !important; margin-left: auto !important; } 响应式 .mx-sm-auto .mx-md-auto .mx-lg-auto .m...
bootstrap5文字截断,超出部分显示省略号,多行文字截断
taotaoit 5 0
4014 0 2021-09-14 Bootstrap5
bootstrap5对于较长的内容,可以添加.text-truncate类别,以省略号截断文字。需为display: inline-block或是display: block。 <!-- Block level --> <div class="row"> <di...
关于本站

“最难不过坚持”

本人承接扒站仿站,php网站维护,病毒查杀,网站编辑,网站改版,html制作

有需要网站维护,改版,病毒查杀,网站编辑,网站备案,html制作等相关的工作可以联系我。
本人有多年相关工作经验,也可提供免费咨询,交个朋友。
有需要探讨问题的朋友,也可以加我微信,共同探讨!
微信:15011482830 QQ:408917339

6578934 2620 39
最新评论
https://jueru.net/
评 留言
:weixiao:
评 留言
:shuijiao: :weiqu: :zhenbang: :leng:
评 留言
:yiwen: :yiwen: :yiwen: :yiwen:
评 EasySass: could not generate CSS file. See Output panel for details.
这个业务逻辑多少都有点奇怪了,阅读浏览次数增值在新闻详情页的控制器方法里setInc,这怎么还写进模型事件里了。如果非要用onAfterRead也可以,把新闻文章的内容单独分出来一个news_content表,然后把它和news做关联,然后给news_content表的onAfterRead事件做增值处理,这样点进新闻页内查询到文章内容时才会触发它。
评 TP6模型事件-查询后onAfterRead不好用
文章标签更多
ThinkPHP (254)
Mysql (58)
DedeCms (33)
jQuery (67)
证件照 (1)
setInc (4)
setDec (4)
onclick (5)