CSS - global hover on background property with opacity

0 votes
191 views
added Jul 2, 2021 in CSS by lcjr First Warrant Officer (11,780 points)
.hm-fb, .hm-tw, .hm-evgc, .hm-fecm, .hm-oi {
	display: inline-block;
    background: #3B5998;
    color: white;
    padding: 2px 9px;
    cursor: pointer;
}
.hm-tw {
	background: #55ACEE;
}
.hm-evgc {
	background: #24853c;
}
.hm-fecm {
	background: #4c687d;
}
.hm-oi {
	background: #790e0e;
}
.hm-social-btn a span:hover {
	opacity: 0.8;
}

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...