ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
##### 取消新闻图文前小点 ``` .自定义css .heading b{display:none} ``` ##### 新闻时间前文字“发布时间”去掉 .do-time span{display:none;} ``` <style> .hm-news .do-caption-overlay .do-title{background-color: rgb(255, 255, 255);top:0;} .hm-news li:hover .do-caption-overlay .do-title{opacity:0; transition:1s all;} .hm-news li:hover .do-media-image-box:before{ content: "查看详情 >>"; color: #fff; position: absolute; right: 20px; bottom: 13px; z-index: 2;} .hm-news li:hover .do-media-image-box:after { content: ""; height: 45px; display: block; position: absolute; bottom: 0; width: 100%; z-index: 1; background: #E74715; } .hm-news .do-time-left { display: block; z-index: 4; position: absolute; right: 12px; background: #E74715; width: 70px; height: 70px; top: -25px; } .hm-news .do-time-left h2 { font-size: 23px;color: #fff;line-height: 44px; } .hm-news .do-time-left p { margin-top: 0px; font-size: 16px; color: #fff; } .hm-news .des:after { content: "查看详情 >>"; color: #000; position: absolute; right: 20px; bottom: 13px; } .hm-news .des:before { content: ""; width: 100%; height: 1px; background: #ccc; display: block; position: absolute; bottom: 45px; left: 0; }.hm-news .do-title-body{padding: 16px 0 0 15px;} .hm-news .do-title-content{display: block;} .hm-news .do-title .title{width: 80%;} .hm-news .do-media-image-box{width:100%!important;} .hm-news{width:96%;margin:auto;} </style> ```