当前位置:网站首页>Eliminate the hover effect when the button is disabled
Eliminate the hover effect when the button is disabled
2022-06-29 02:04:00 【wam923259736】
Under normal circumstances , Hovering over a button triggers hover effect , Both the background color and the text color change , When we add a disable effect to the button, we need to eliminate hover effect
Solution : Use :not(.is-disabled) To give is not disabled ( The style class name does not contain is-disabled) Button add for hover effect
.one-button-primary {
background: #409eff;
color: #fff;
border-color: #409eff;
&:hover {
&:not(.is-disabled) {
color: #fff;
background: #66b1ff;
}
}
}
.one-button.is-disabled {
opacity: 0.6;
cursor: not-allowed;
}
边栏推荐
- 为什么要在网站上安装SSL证书?
- How to become a senior digital IC Design Engineer (3-5) tools: Spyglass Technology
- Redis data migration (III)
- MySQL realizes data comparison between two tables by calculating intersection and difference sets
- [TS] as type assertion
- 如何成为一名高级数字 IC 设计工程师(4-3)脚本篇:C 语言实现的文件读写操作
- [redis] data introduction & General Command & string type
- Test a CSDN free download software
- How to become a senior digital IC Design Engineer (4-3)
- Analysis of advantages and disadvantages of environment encryption and transparent encryption
猜你喜欢

栈的增删查改---动态内存

Analysis of parsing principle of OData metadata request response in SAP ui5 application
Scala Foundation (3): Operators and Process Control

Analysis of advantages and disadvantages of environment encryption and transparent encryption

SAP ui5 beginner tutorial Part 23 - sorting sort and grouping Group trial version of list control

Design and development of VB mine sweeping game

How to become a senior digital IC Design Engineer (4-3)

Callback function of unity after importing resources

Application of X6 in data stack index management
![[redis] data introduction & General Command & string type](/img/86/3abc5047f9c0a051f432e82ccc816c.png)
[redis] data introduction & General Command & string type
随机推荐
Tiflash compiler oriented automatic vectorization acceleration
如何成为一名高级数字 IC 设计工程师(3-5)工具篇:SpyGlass 技术
How to become a senior digital IC Design Engineer (6-7) digital IC Verification: debug skills
Finally got the byte offer. The 25-year-old inexperienced experience in software testing is written to you who are still confused
直播预告|SQL也能玩转工业级机器学习?MLOps meetup V3带你一探究竟!
一种全面屏手势适配方案
[从零开始学习FPGA编程-50]:视野篇 - 芯片是如何被制造出来的?芯片制造的十三大步骤。
为什么要在网站上安装SSL证书?
[C language] Fibonacci sequence and frog jumping steps (the most detailed elementary frog jumping steps)
Who do you want to know when opening a stock account? Is it safe to open an account online now?
[从零开始学习FPGA编程-49]:视野篇 - 芯片是如何被设计出来的?
C language course design - food warehouse management system
Crawler exercise (IV) -- IP address problem
请问etf基金是否靠谱,安全吗
什么叫股票线上开户?网上开户安全么?
How to prevent virus
Which is the best billing method for okcc call center
[redis] set type
In simple terms, server intrusion prevention
如何成为一名高级数字 IC 设计工程师(4-2)脚本篇:Verilog HDL 代码实现的文件读写操作