Indeed. An outline is around the rectangular area on the outside of the border. It doesn't take rounded corners into account.
There's nothing wrong with disabling the outline, just make sure you add some other accessibility feature for people using the keyboard, for instance, change the color of your background on focus:
发布评论
评论(2)
的确。边框外侧的矩形区域周围有一个轮廓。它不考虑圆角。
禁用轮廓没有任何问题,只需确保为使用键盘的人添加一些其他辅助功能,例如,更改焦点背景的颜色:
Indeed. An outline is around the rectangular area on the outside of the border. It doesn't take rounded corners into account.
There's nothing wrong with disabling the outline, just make sure you add some other accessibility feature for people using the keyboard, for instance, change the color of your background on focus:
与许多表单元素一样,按钮元素在浏览器中具有不同的呈现,并且需要进行许多修复...
http://fvsch.com/code/button-css/ 应该让您在整个元素周围而不是其内容周围勾勒出按钮的轮廓。
As many form elements, the button element has different renderings in browsers, and as many fixes are needed...
http://fvsch.com/code/button-css/ from F. Verschelde should let you outline buttons around the whole element and not around its content.