0
why pseudo selection code " ::-moz-selection" not working
CSS p::-moz-selection {background: #8bc34a; color: #fff;} p::selection {background: #8bc34a; color: #fff;} HTML <p>The following example demonstrates how to use the ::selection element to change the color of the selected text.</p>
2 Respostas
0
It works all right. Just select the text then the effect is visible.
0
I thought that it wasn't working too... sometimes the solution is closer and easier than I think! Thank you Seniru