0

Hi guys! About ::selections, how do you make the selection of the exact part you wanna style?

4th Oct 2016, 6:47 AM
Solomon Kiarie Mwangi
Solomon Kiarie Mwangi - avatar
3 Answers
+ 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?
2nd Nov 2016, 1:01 AM
Nardy Lenis EugĂȘnio
Nardy Lenis EugĂȘnio - avatar
+ 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.
3rd Jan 2017, 1:52 PM
Dawid Borusiak
Dawid Borusiak - avatar
+ 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
3rd Nov 2016, 7:52 AM
MojmĂ­r Volf
MojmĂ­r Volf - avatar