Hiding dotted selection border with CSS
Don’t you hate it when you try to be all SEO friendly and set an element’s CSS to text-indent: -9999px; then you get that ugly dotted selection/focus border running across your entire document?
Yeah me too - then I discovered this:
:focus {
outline: 0;
}
Epic. Can’t believe I’d never heard of it!
Loading...
