html - 无法删除分页点焦点上的边框颜色
问题描述
我正在尝试删除焦点上弹出的不需要的灰色和蓝色。它似乎并没有以某种方式出现在css中。
<span class="swiper-pagination-bullet swiper-pagination-bullet-active" tabindex="0" role="button" aria-label="Go to slide 3"></span>
这是CSS:
.swiper-pagination-clickable .swiper-pagination-bullet {
cursor: pointer;
}
.swiper-pagination-bullet {
width: 12px !important;
height: 12px !important;
margin: 4px !important;
background-color: $carousel-pagination-page-bg-color !important;
opacity: 0.6 !important;
}
.swiper-pagination-bullet-active {
background-color: $carousel-pagination-page-bg-color-hover !important;
opacity: 1 !important;
}
解决方案
看起来 swiperjs 正在添加一个大纲,outline:none
工作。
推荐阅读
- angular - 当字段配置来自服务时如何指定 ngx-formly 字段格式化程序
- android - 在Android中如何使用黑色背景导航按钮制作半透明状态栏
- java - Velocity Template Engine:如何通过传递的参数检查是否在宏中设置了变量
- reactjs - 如何通过 react-google-maps 中的代码移动地图?
- c++ - 根据输入在给定尺寸的空心图案下方打印
- node.js - MS Teams 应用清单文件租户限制
- spring-boot - 无法从 solr 按 id 删除数据(使用 SolrCrudRepository),其他功能工作正常 - 添加数据、getbyId、getAll
- javascript - javascript 查询选择器和 const 问题
- c# - 具有空值的 C# IQueryable LINQ Group By
- javascript - 如何使用JS显示保存在文件夹中的所有图像?