::selection { color: #ea4525; text-transform: uppercase; letter-spacing: 2px; text-shadow: none; font-size: 16px; line-height: 22px; } 

Text selection does not work completely, only text color changes. Tried !important , there is no result. Tell me how to make a working selection?

  • But is it possible to change something other than color and background-color? - ivkremer
  • I need to change all the values ​​that are written. And What can or can not I do not know, therefore I ask! - Hancock888

1 answer 1

Use JS: имя_обьекта.focus(); or имя_обьекта.select();