Code Snippet > CSS
Remove HTML links and textbox hightlight border
When you click on textbox or link, you will see border highlighting the element. It's even more obvious if you are using mac os. Luckily, you can solve it by using the outline property. I used it when I set the indentation of a link text to -999em and also when I'm building a textfield with rounded border.
CSS
a, input {
outline:none;
}
This code snippet was submitted by:
Kevin Liew is a web designer and developer and keen on contributing to the web development industry. He loves frontend development and absolutely amazed by jQuery. Feel free to say hi to me, or follow @quenesswebblog on twitter.
Leave a comment
Have something to say? Drop a comment! No HTML tags are allowed in the comment textfield.





















3 comments