What is the difference between * and *|* in CSS?

前端 未结 3 1392
广开言路
广开言路 2020-12-12 14:10

In CSS, * will match any element.

Frequently, *|* is used instead of * to match all elements. This is generally used for testi

3条回答
  •  星月不相逢
    2020-12-12 14:36

    In CSS, * will match any element.

    | is used to match select specific elements. Both are selector used for our testing purpose

提交回复
热议问题