+ 5
Pseudo Elements
Someone give an example of, ::before, ::after and ::selection for me!
3 Antworten
+ 3
Study this code would make you understand right away
https://code.sololearn.com/W7481Y0XwNnV/?ref=app
+ 3
selection is like highlighting with a mouse
https://css-tricks.com/almanac/selectors/s/selection/
It works a bit differently depending on the browser being used (for example, Chrome overrides a background color of white with off-white).
0
Satnam Singh I have an understanding for before and after now, but Im still lost on “selection”...