-1

When we click on the textbox a border is appearing in Chrome.

Felix Kling
  • 795,719
  • 175
  • 1,089
  • 1,143
user1589405
  • 19
  • 1
  • 2
  • 2
    possible duplicate of [How to remove border around text/input boxes? (Chrome)](http://stackoverflow.com/questions/3397113/how-to-remove-border-around-text-input-boxes-chrome) – Felix Kling Aug 09 '12 at 10:28

3 Answers3

3

Use $outline:none; in this manner:

textarea:focus, input:focus{
    outline: none;
}

That way, it only applies when it's being used.

Changry
  • 31
  • 2
1

CSS:

textbox:focus {
    outline: none;
}

UPDATE

I used texbox just for illustration, in your code you should use element based on your html like input, button, textarea etc.

Roman Mazur
  • 512
  • 6
  • 17
0

Use outline: none; like:

input, textarea {
   outline: none;
}
Chris
  • 2,630
  • 3
  • 31
  • 58
Gabriel
  • 407
  • 4
  • 4