0
Hi guys! About ::selections, how do you make the selection of the exact part you wanna style?
3 Antworten
+ 6
Hi, it is just create an element with a id, and selects it into your css. I hope have helped. Sorry for my english, i'm learning yet. You tried this?
+ 3
You are not making the selection itself. The user does it when they click with the mouse and move while holding.
You can style what happens to the elements when they are selected. For example, default text selection is white text on blue background which you can change to something else.
+ 1
::selection allows you to style properties of text and other page content selected by user (by mouse, keyboard etc.)
see https://code.sololearn.com/WcQKs8dn8hg1