css---设置富文本样式参考

我们在做CSS样式处理的时候,需要对富文本的样式进行预设,以下给出具体的参考,大家可以选择使用。

.main-help-content .help-content-box .info-content{width:100%; font-size: 17px; line-height: 2.4em;}
.main-help-content .help-content-box .info-content>p{margin: 0 0;}
.main-help-content .help-content-box .info-content img{max-width: 98%; margin-bottom: 30px;}
.main-help-content .help-content-box .info-content a{color: #00a9ff;}
.main-help-content .help-content-box .info-content h2{font-size: larger;}
.main-help-content .help-content-box .info-content h3{font-size: large;}
.main-help-content .help-content-box .info-content h4{font-size: medium;}
.main-help-content .help-content-box .info-content h5{font-size: smaller;}

打完收工!

posted @   帅到要去报警  阅读(224)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 提示词工程——AI应用必不可少的技术
· .NET周刊【3月第1期 2025-03-02】
历史上的今天:
2019-04-26 vue---import的几种表现形式
2019-04-26 mock---前端搭建模拟服务
2019-04-26 vue---computed计算属性的使用
点击右上角即可分享
微信分享提示