Should I use single colons (:) or double colons (::) for before, after, first-letter and first-line pseudo-elements?

前端 未结 3 1567
春和景丽
春和景丽 2020-11-29 06:08

From MDN:

The :: notation was introduced in CSS 3 in order to establish a discrimination between pseudo-classes and pseudo-elements. Br

3条回答
  •  一整个雨季
    2020-11-29 06:40

    I would would go for the single : People now a days should at least have somewhat of the latest browsers installed, so you have nothing to worry about.

提交回复
热议问题