chenliqio / fe-interview

前端面试题型汇总
0 stars 0 forks source link

【CSS】Day9--::before和:after中单冒号和双冒号的区别是什么?这两个有什么作用?⭐️⭐️⭐️ #27

Open chenliqio opened 2 years ago

chenliqio commented 2 years ago

一、伪类

伪类,表示不存在的类,特殊的类

二、伪元素

表示页面中一些特殊的并不真实存在的元素。