当前位置:网站首页>input的聚焦后的边框问题
input的聚焦后的边框问题
2022-06-24 07:06:00 【隐密修罗】
我们写的input 聚焦后,它的聚焦边框是由outline控制了,但input还可以控制边框
// 输入文字搜索
.my_InputText{
border:0.5px solid #DCDFE6;
border-radius: 5px;
}
.my_InputText:focus {
box-sizing: border-box;
outline:0px ;
border:1px solid rgb(0, 195, 255);
}
第一个是element的 <el-input . >
第二个是input的样式 ,只有把input的 :focus {outline:0px} outline设成零,再用border:1px solid rgb(0, 195, 255); 这样就是和element的一样了
原因:input的focus 聚焦边框是由outline控制了

所以我们需要进行增加设置 : focus{ outline:0px solid #fff; }
边栏推荐
- Pyqt common system events
- ZUCC_ Principles of compiling language and compilation_ Experiment 05 regular expression, finite automata, lexical analysis
- New technology practice, encapsulating the permission application library step by step with the activity results API
- There was an error checking the latest version of pip
- Easycvr invokes the interface parameter acquisition method and precautions of device video recording on the page
- ZUCC_ Principles of compiling language and compilation_ Experiment 0607 grammar analysis ll analysis
- Xtrabackup for data backup
- Cloudbase database migration scheme
- Jenkins自动化部署,连接不到所依赖的服务【已解决】
- Redis cluster data skew
猜你喜欢

Redis cluster data skew

MATLAB Camera Calibrator相机标定

Send custom events in QT

Markdown to realize text link jump

Centos7 installation of jdk8, mysql5.7 and Navicat connection to virtual machine MySQL and solutions (solutions to MySQL download errors are attached)

ZUCC_编译语言原理与编译_实验06 07 语法分析 LL 分析

Detailed explanation of Base64 coding and its variants (to solve the problem that the plus sign changes into a space in the URL)

Base64编码详解及其变种(解决加号在URL变空格问题)
![[untitled]](/img/94/792e8363dbfe67770e93b0dcdc8e72.png)
[untitled]

数据库迁移从PostgreSQL迁移到 MYSQL
随机推荐
QT writing security video monitoring system 36 onvif continuous movement
How to handle the problem that calling easycvr address integration cannot be played through easyplayer player?
ZUCC_编译语言原理与编译_实验06 07 语法分析 LL 分析
DataX User Guide
關於ETL看這篇文章就够了,三分鐘讓你明白什麼是ETL
ZUCC_编译语言原理与编译_实验03 编译器入门
Micro build low code online "quick registration applet" capability
获取屏幕宽高工具类
ZUCC_ Principles of compiling language and compilation_ Experiment 04 language and grammar
Building a static website with eleventy
There was an error checking the latest version of pip
orb slam build bug: undefined reference to symbol ‘_ ZN5boost6system15system_ categoryEv‘
leetcode 1268. Search suggestions system
Pyqt common system events
String转Base64
Two methods of QT exporting PDF files
Using sonar for code checking
深度学习与神经网络:最值得关注的6大趋势
Easydss anonymous live channel data volume instability optimization scheme sharing
Shell pass parameters