I have a following css:
a, a::after, p + .selector, .selector > .my-selector, .selector::before {
}
I want to append [data-123] to all of the selectors. So something like:
a[data-123], a::after[data-123], p[data-123] + .selector[data-123], .selector[data-123] > .my-selector[data-123], .selector::before[data-123] {
}
How can I do this with postcss or is there any other way to achieve the result at runtime?
This is how Vue does it:
It works perfectly.