Pseudo Elements | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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