改变文字颜色
::selection {
background: #f88;
text-shadow: none;
color: #000;
}
::-moz-selection {
background: #f88;
text-shadow: none;
color: #000;
}
::-webkit-selection {
background: #f88;
text-shadow: none;
color: #000;
}
改变超链接颜色
a::selection {
background: #f88;
text-shadow: none;
color: #fff;
outline: 0;
}
a::-moz-selection {
background: #f88;
text-shadow: none;
color: #fff;
outline: 0;
}
a::-webkit-selection {
background: #f88;
text-shadow: none;
color: #fff;
outline: 0;
}