I'm displaying some text in UIWebview.Now if i select some of text then the selected color is in blue. But i want to display the selected color in yellow.
And if i deselect then selected text will be in normal color.
Can any one help out???
-
try : -webkit-tap-highlight-color: <color>; or ::-webkit-selection {}– AruMar 17, 2015 at 6:36
-
I have done this one in this way– SonuMar 17, 2015 at 6:55
-
overflow-y: scroll;overflow-x: hidden; -webkit-tap-highlight-color: rgba(255,255,0,1.0); padding-top: 5px; font-family: "HelveticaNeue-Light", "Helvetica Neue Light"; color: rgb(1,1,1);– SonuMar 17, 2015 at 6:55
-
but when the webview load the whole background color is in yellow for few second– SonuMar 17, 2015 at 6:56
-
selected color is in blue– SonuMar 17, 2015 at 6:56
|
Show 2 more comments