Today I noticed that pseudo-element is a synonym of css which is a surprise to me.
Pseudo elements are part of the CSS Selectors Specification and they are complex enough to deserve a tag. We cannot even consider them as synonym of css-selectors because the have their own issues and tricks.
One example of question around pseudo element: Font Awesome 5 on pseudo elements shows square instead of icon
There is also an online documentation about how to use Font Awesome 5 with pseudo element which make the topic not trivial.
Our CSS master BoltClock1 wrote a lot around Pseudo elements (125 posts tagged with pseudo-elements).
He also said:
@James Donnelly: You know, I find [pseudo-class] kind of unnecessary too. But pseudo-elements are more than just the selectors. Many pseudo-element questions aren't really about selector syntax but the functionality of the pseudo-elements themselves. Like the one about the content property - which is about the property, not the selector syntax. – BoltClock♦ Mar 24 '17 at 11:34 ref
The JS people will also agree that dealing with pseudo element is a tricky exercice and a lot of question are asked around this topic. The following question: Selecting and manipulating CSS pseudo-elements such as ::before and ::after using jQuery is one of the frequent question in the JS and CSS tag (can be seen here: https://stackoverflow.com/questions/tagged/javascript?tab=frequent&page=5&pagesize=15= and also here: https://stackoverflow.com/questions/tagged/css?tab=frequent )
We also find questions tagged with javascript and pseudo-element without having css:
How to delete Pseudo-elements with Jquery
Is it possible to select pseudo elements like scrollbars using jQuery?
More here: https://stackoverflow.com/search?q=%5Bjavascript%5D+%22pseudo+elements%22+-%5Bcss%5D
1: If I am able to summon him he will for sure agree with me.