droidev
droidev

Reputation: 7390

Remove Selection border in chrome

Hi all I have a screen shot below attached, I have taken that in chrome browser enter image description here

actually the blue shaded portion is a input type text . I have to remove completely the border for that, I have removed by css (border:none;) on the normal state and focused state, and it works fine in mozilla, but for chrome it shows a blue selection identification for the same, is there any way remove that ?

Upvotes: 0

Views: 55

Answers (1)

Joel Almeida
Joel Almeida

Reputation: 8037

Try giving this in the focus state:

outline: 0;
box-shadow: none;

And add the default border you want. Like 1px solid black

Upvotes: 1

Related Questions