温馨提示:
本文最后更新于
2026-08-03 16:19:20,
某些文章具有时效性,若有错误或已失效,请在下方留言!
演示图
![图片[1]-子比美化——文章列表拟态CSS美化-莓乱扔小站](https://meirl.cn/wp-content/uploads/2026/08/20260803081548140-image-1024x724.webp)
教程
CSS代码(导入即可)
.posts-item:not(.card) ,.author-header .avatar-img ,.full-widget-sm ,.header .sub-menu ,.modal-content ,.form-control ,.no_webshot.main-bg.theme-box.box-body.radius8.main-shadow ,.article ,.dropdown-menu ,.btn-score ,.float-right.round .float-btn ,.forum-posts.alone ,.zib-widget ,.posts-mini-lists ,.posts-item.card.style3 { background: linear-gradient(180deg, #ecf2ff, var(--main-bg-color)); border: 2px solid var(--main-bg-color); box-shadow: 6px 6px 15px 0 rgb(136 167 225 / 21%), -6px -6px 15px 0 var(--main-bg-color); transition: all 0.2s;}
如果觉得拟态程度不够,那么你可以使用下面这个css
.posts-item:not(.card) ,.author-header .avatar-img ,.full-widget-sm ,.header .sub-menu ,.modal-content ,.form-control ,.no_webshot.main-bg.theme-box.box-body.radius8.main-shadow ,.article ,.dropdown-menu ,.btn-score ,.float-right.round .float-btn ,.forum-posts.alone ,.zib-widget ,.posts-mini-lists ,.posts-item.card.style3 { background-color: #ebecf0; box-shadow: 0.3rem 0.3rem 0.6rem #c8d0e7, -0.2rem -0.2rem 0.5rem #fff; border-radius: 30px; transition: all .2s; -webkit-transition: all .2s;}
THE END
















请登录后查看评论内容