选中文本后的颜色

::selection {
color: red; /*选中后的字体颜色*/
background: #fa862e; /*选中后的字体背景颜色*/
}

原文地址:https://www.cnblogs.com/hill-foryou/p/9001163.html