::selection { background: purple; color: hotpink; } ::-moz-selection { background: purple; color: hotpink; }