+ 5

Pseudo Elements

Someone give an example of, ::before, ::after and ::selection for me!

9th Oct 2018, 2:02 AM
Johnny Meyer
Johnny Meyer - avatar
3 odpowiedzi
+ 3
Study this code would make you understand right away https://code.sololearn.com/W7481Y0XwNnV/?ref=app
9th Oct 2018, 3:38 AM
Calviղ
Calviղ - avatar
+ 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).
9th Oct 2018, 5:13 AM
Janning⭐
Janning⭐ - avatar
0
Satnam Singh I have an understanding for before and after now, but Im still lost on “selection”...
9th Oct 2018, 3:23 AM
Johnny Meyer
Johnny Meyer - avatar