7 09 2009

firefox 去掉 button 虚线框

bigCat Posted in CSS - Comment.isBlank

outline:none失效\r\n\r\n私有属性\r\nbutton::-moz-focus-inner { border: 0; }\r\n\r\njs\r\nonFocus='this.blur()'\r\n\r\n傻逼才要去掉虚线框,那些键盘玩tab的人会死很惨\r\n\r\nabout:config in Firefox and set browser.display.focus_ring_width to 0. Then Firefox won't show any dotted borders at all.\r\n\r\nThe following bug explains the topic: https://bugzilla.mozilla.org/show_bug.cgi?id=74225\r\n\r\n

Host: (miao) | Word: Press | Code: HTML5