rubo77 rubo77 - 1 year ago 47
CSS Question

CSS style for text starting with "> "

I am creating a userstyle for mailman/pipermail archives for the Stylish Addon for Firefox and Chrome.

Now the only thing left would be to give the quotes a unique style so I would have to address only text that is preceeded by

and create a CSS for that.

How can I address those text parts with CSS only?

Answer Source

Looks like they were thinking about such a selector for the CSS3 spec but it didn't make the cut.

:contains() CSS3 selector: