資源網如何增加資源網同款段落標題樣式


資源網如何增加資源網同款段落標題樣式

文章插圖


資源網如何增加同款段落標題樣式
其實這個就是十分簡單的 , 我們只需要增加css樣式即可完成
  1. .art-content h3{position:relative;padding:5px 0 15px;color:#424242;font-size:18px;display:-webkit-inline-box;border-bottom:1px solid #fff;cursor:pointer;z-index:16;font-weight:700;line-height:30px}
  2. .art-content h4{font-size: 18px;font-weight: 700;margin: 25px 0 20px;border-left: 4px solid #1b54bc;padding: 0 0 0 10px;line-height: 17px;}
  3. .art-content h5{font-size:18px;color:#333;background:#e2e2e2;padding:5px 10px;margin:0 0 15px;font-weight:600}
  4. .art-content h6{font-size:18px;color:#fff;background:#5c9dfd;padding:5px 10px;margin:0 0 15px;font-weight:600}
  5. .art-content h3:before{position:absolute;top:35px;left:0;z-index:-1;width:45%;height:2px;background:#1b54bc;content:" ";border-radius:20px;transition:all .5s}
  6. .art-content h3:hover:before{width:100%;transition:all .5s}
使用方法art-content替換成自己文章的div的class類名 , 然后發布文章選擇h3 h4 h5 h6標題即可 , 也可以手動輸入<h3>H3標題樣式</h3>
【資源網如何增加資源網同款段落標題樣式】

    推薦閱讀