我們在做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;}
打完收工!