最佳答案
What is the difference between div::after {}
and div:after {}
? When do we have to use ::
over :
?
Double colon and single-colon notation is to distinguish between pseudo-classes and pseudo-elements.
What is the actual meaning of the above statement?