当前位置:网站首页>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;
}
边栏推荐
- Magic Quadrant of motianlun's 2021 China Database
- I'd like to ask you, where can I open an account in Zhongshan? Is it safe to open an account online?
- 【Redis】SortedSet类型
- 【Redis】Hash类型
- 基于 RISC-V SoC 的可配置 FFT 系统设计(1)引言
- 【Redis】数据介绍 & 通用命令 & String类型
- [image detection] recognition of the front and back of a coin based on texture features with matlab code attached
- 扁平结构转换为树结构
- Utiliser kubernets Resource Lock pour compléter son application ha
- How to encrypt the device
猜你喜欢

Introduction to super dongle scheme

Dialogue with opensea co creation Alex: we still only touch the tip of the iceberg of NFT capability | chain catcher
![[redis] key hierarchy](/img/ab/a5d3bb61b4571966d0f47037af4f41.png)
[redis] key hierarchy

Research on VB multi-layer firewall technology - state detection

When you complain about the roll, others have quietly begun to prepare for the golden three silver four

SAP ui5 beginner tutorial 24 - how to use OData data model

In MySQL database, the two data written when creating tables with foreign keys are the same. Do I copy them or fail to display them

How to prevent virus

Application of X6 in data stack index management

HBuilder左侧工具栏不见了
随机推荐
C语言课程设计------食品仓库管理系统
独家分析 | 软件测试关于简历和面试的真实情况
P7 Erkai early know - registration and application creation
Introduction to super dongle scheme
Finally got the byte offer. The 25-year-old inexperienced experience in software testing is written to you who are still confused
A full screen gesture adaptation scheme
RISC CPU design based on FPGA (4) 36 questions about the project and their answers
同花顺究竟是如何开户?现在网上开户安全么?
如何成为一名高级数字 IC 设计工程师(6-6)数字 IC 验证篇:系统级仿真
I'd like to ask you, where can I open an account in Zhongshan? Is it safe to open an account online?
基于 FPGA 的 RISC CPU 设计(4)关于项目的 36 个问题及其答案
Using autogluon to forecast house price
如何成为一名高级数字 IC 设计工程师(6-7)数字 IC 验证篇:DEBUG 技巧
Large scale visual relationship understanding
Who do you want to know when opening a stock account? Is it safe to open an account online now?
Which is the best billing method for okcc call center
【Redis】Set类型
MySQL realizes data comparison between two tables by calculating intersection and difference sets
[redis] key hierarchy
[redis] set type