zoukankan      html  css  js  c++  java
  • bootstrap和bootstrap-select去除蓝色边框outline

    /*bootstrap outline设置*/
    .btn:focus,
    .btn:active:focus,
    .btn.active:focus,
    .btn.focus,
    .btn:active.focus,
    .btn.active.focus {
      outline: thin dotted;
      outline: 5px auto -webkit-focus-ring-color;
      outline-offset: -2px;
    }
    input[type="file"]:focus,
    input[type="radio"]:focus,
    input[type="checkbox"]:focus {
      outline: thin dotted;
      outline: 5px auto -webkit-focus-ring-color;
      outline-offset: -2px;
    }
    a:focus {
      outline: thin dotted;
      outline: 5px auto -webkit-focus-ring-color;
      outline-offset: -2px;
    }
    /*bootstrap-select outline设置*/
    .bootstrap-select .dropdown-toggle:focus {
      outline: thin dotted #333333 !important;
      outline: 5px auto -webkit-focus-ring-color !important;
      outline-offset: -2px;
    }

    bootstrap清除outline

    .btn.active.focus, .btn.active:focus,.btn.focus, .btn:active.focus,.btn:active:focus, .btn:focus {
      outline:0;
    }

    bootstrap-select清除outline

    /*去除选择框的outline*/
    .bootstrap-select .dropdown-toggle:focus{outline:none !important;}
    /*去除选项的outline*/
    a:focus {outline:none !important;}
  • 相关阅读:
    Python修改文件内容
    Python实现用户注册到文件
    Postman接口测试
    Linux下安装LoadRunner LoadGenerator
    Loadrunner参数化避免重复数据
    Ta-Lib用法介绍 !
    迭代器 生成器
    深入理解python多进程编程
    python多进程
    python多线程
  • 原文地址:https://www.cnblogs.com/mengff/p/5660097.html
Copyright © 2011-2022 走看看