search

Home  >  Q&A  >  body text

css - 为什么我没见到一个浏览器支持多重伪元素和嵌套伪元素?

是确实现在还没有支持的吗?

::after::after{}
::after(2){}
巴扎黑巴扎黑2866 days ago510

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理2017-04-17 11:37:31

    Because to implement an element, you must first find the entity element it is based on

    reply
    0
  • 阿神

    阿神2017-04-17 11:37:31

    There should be no multiple afters. Multiple pseudo-elements refer to after and before
    For details, you can read these two explanations:

    1. W3School-CSS pseudo-element: W3School-CSS pseudo-element

    2. Detailed explanation of css3 series: pseudo-elements and pseudo-class selectors: Detailed explanation of css3 series: pseudo-elements and pseudo-class selectors

    reply
    0
  • Cancelreply