什麼是僞類?什麼是僞元素?區別是什麼?

什麼是僞類: a連接樣式 點擊連接 a:hover{color:red} 鼠標懸浮字體變紅。 什麼是僞元素:## 標題 ## p{ border:1px red solid; } p:before{content: 「hey 「; position: relative; left: 20px; } p:after{ content: 「you are handsome!」; position: r
相關文章
相關標籤/搜索