1. Before and after pseudo-classes
Result demonstration
The result is
2. Root pseudo-class
Sets the lowest-level style, which can be used to insert background images
3.
4. css::selection Such as: p::selection{... ....}
The pseudo-class selector is used to highlight any part of the page that the user selects, including text in editable text fields
5. Anti-pseudo-class selector
6. Target pseudo-class
is used to match a location connected to the same page
corresponding to the click of the above result The a connection will automatically jump to the corresponding div and change its style