Nesting pseudo-elements inside pseudo-elements

前端 未结 1 1284
旧巷少年郎
旧巷少年郎 2020-11-29 09:07

I have a :before for an opening \'quote\' and an :after for a closing quote.

Now what I want is an :after:after for the \'cite\' reference but I cant get it to work.

相关标签:
1条回答
  • 2020-11-29 09:23

    The idea of nesting ::before and ::after pseudo-elements has been proposed; see this section of the Generated and Replaced Content module. However, that module has been abandoned pending a complete rewrite, so I wouldn't hold my breath on this document ever receiving implementation until it's republished. And even then, whether nesting content pseudo-elements will still be a thing is as yet unknown.

    0 讨论(0)
提交回复
热议问题