Sanchosrancho Sanchosrancho - 1 year ago 36
HTML Question

How to remove button outline in Opera on focus

Does anybody know how to remove the dotted outline on buttons in Opera?

Knu Knu

I have done it.

Here you go: [tested on Opera 10.5/11]

The secret is using outline-offset:-2px; (effectively covering the dots) and the background's color for the outline. outline-offset is supported since version 9.5.