当前位置:网站首页>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;
}
边栏推荐
- SAP ui5 beginner tutorial 22 - development and use of filter
- [image detection] recognition of the front and back of a coin based on texture features with matlab code attached
- Qt基础教程:QStringList
- Analysis of advantages and disadvantages of environment encryption and transparent encryption
- How to become a senior digital IC Design Engineer (6-4) digital IC Verification: test point decomposition
- 想请教一下,我在中山,到哪里开户比较好?在线开户是安全么?
- Near consensus mechanism
- Adding, deleting, checking and modifying stack - dynamic memory
- 独家分析 | 软件测试关于简历和面试的真实情况
- [从零开始学习FPGA编程-50]:视野篇 - 芯片是如何被制造出来的?芯片制造的十三大步骤。
猜你喜欢
![[redis] list type](/img/c7/adec2aaea50d69a0aed95bfe683b9e.png)
[redis] list type
![[image detection] recognition of the front and back of a coin based on texture features with matlab code attached](/img/61/1fb15e9defa1fc471c4d2d34cc1ed4.jpg)
[image detection] recognition of the front and back of a coin based on texture features with matlab code attached

How to manage device authorization
![[MySQL practice of high concurrency, high performance and high availability of massive data -9] - transaction concurrency control solutions lbcc and mvcc](/img/62/77c2274db4f92ad1d88901e149251c.jpg)
[MySQL practice of high concurrency, high performance and high availability of massive data -9] - transaction concurrency control solutions lbcc and mvcc

SQL splits strings into tables

Server antivirus

Kuboardv3 and monitoring kit installation

ASP. Net based on LAN

基于 RISC-V SoC 的可配置 FFT 系统设计(1)引言
![[redis] data introduction & General Command & string type](/img/86/3abc5047f9c0a051f432e82ccc816c.png)
[redis] data introduction & General Command & string type
随机推荐
Google Borg论文
Introduction to super dongle scheme
How to become a senior digital IC Design Engineer (6-5) digital IC Verification: coverage collection
How to become a senior digital IC Design Engineer (6-6) digital IC Verification: system level simulation
RISC CPU design based on FPGA (4) 36 questions about the project and their answers
利用kubernetes資源鎖完成自己的HA應用
利用kubernetes资源锁完成自己的HA应用
SAP ui5 beginner tutorial Part 23 - sorting sort and grouping Group trial version of list control
MySQL详解 --- 聚合与分组
[understanding of opportunity -33]: seeing is not necessarily true. Most of the time, "seeing is false"
Is the ETF fund reliable and safe
【内网穿透】Frp 自建跳板-两个内网通讯上线-反弹shell
为什么要在网站上安装SSL证书?
Why install an SSL certificate on a web site?
OculusRiftS与Unity.UI的交互(1)-总览
想请教一下,如何选择券商?现在网上开户安全么?
大三下期末考试
How to choose source code encryption software
[redis] set type
指南针手机股票开户哪个券商更安全更方便?