浏览代码

better way to remove outlines

Igor Vaynberg 12 年之前
父节点
当前提交
828d7a5052
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      select2.css

+ 2 - 2
select2.css

@@ -612,7 +612,7 @@ disabled look for disabled choices in the results dropdown
     text-decoration: underline;
 }
 
-.select2-offscreen {
+.select2-offscreen, .select2-offscreen:focus {
     clip: rect(0 0 0 0);
     width: 1px;
     height: 1px;
@@ -621,7 +621,7 @@ disabled look for disabled choices in the results dropdown
     padding: 0;
     overflow: hidden;
     position: absolute;
-    outline: none;
+    outline: 0;
     left: 0px;
 }