主机推荐

百度编辑器h1~h6标题美化 xiuno建站日记

已认证 修罗大仙 2019-4-20 6950

 

通过css引入即可:

/* H6标题 */
.card-body .message h6 {
    border-left: 3px solid #6293d4;
    text-indent: 8px;
    font-weight: bold;
    padding: 2px 0px;
    margin: 8px 0px;
}
/* H5标题 */
.card-body .message h5 {
    border-left: 4px solid #84985a;
    text-indent: 8px;
    font-weight: bold;
    padding: 2px 0px;
    margin: 8px 0px;
}
/* H4标题 */
.card-body .message h4 {
    border-left: 5px solid #b55594;
    text-indent: 8px;
    font-weight: bold;
    padding: 2px 0px;
    margin: 8px 0px;
}
/* H3标题 */
.card-body .message h3 {
    border-left: 6px solid #a232de;
    text-indent: 8px;
    font-weight: bold;
    padding: 2px 0px;
    margin: 8px 0px;
}
/* H2标题 */
.card-body .message h2 {
    border-left: 7px solid #32de5d;
    text-indent: 8px;
    font-weight: bold;
    padding: 2px 0px;
    margin: 8px 0px;
}
/* H1标题 */
.card-body .message h1 {
    border-left: 8px solid #de3232;
    text-indent: 8px;
    font-weight: bold;
    padding: 2px 0px;
    margin: 8px 0px;
}

转自:

@夜琉璃ヾ

 xiuno站长服务QQ:312215120
最新回复 (0)
返回
首页
插件
搜索