::selection

select

::selection { background-color: #f16a16; color:#fff; }
/* IE9+, Opera, Goolde, Chrome, Safari */
::-moz-selection { background-color: #f16a16;  color:#fff; } /* Firfox */

Browser Support
The ::selection selector is supported in IE9+, Opera, Google Chrome and Safari.
Firefox supports an alternative, the ::-moz-selection.

 

Link1 :  https://developer.mozilla.org/en-US/docs/Web/CSS/::selection
Link2 :  http://www.w3schools.com/cssref/sel_selection.asp

 

댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다