CSS 屬性之 :before 和 :after 的簡單使用

:before 屬性和 :after 屬性的使用和普通的標籤元素同樣。web 須要注意的是:經過 content 屬性進行文本插入,若是 content 內容爲空,須要添加 position: absolute;,否則沒法顯示出效果 svg
相關文章
相關標籤/搜索