Hello everyone,
I would like to create hover effect for two elements: when mouse over both of the two elements, only one element get filled with different color, the other element remain the same color.
Here is my file: mouseOver.rp (46.4 KB)
As you see, when mouse over the top element, the bottom element get no effect.
What I want will be like this one:
Or the effect for below code.
<!DOCTYPE html>
<html>
<head>
<style>
a:link, a:visited {
background-color: #f44336;
color: white;
padding: 14px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
}
a:hover, a:active {
background-color: green;
}
</style>
</head>
<body>
<a href="default.asp" target="_blank"><img src="https://js.out.sh/assets/content/logo-icon-c9d91770856feb04176ffe2ef297a7792a11d88a4c88b951a695d5946464cfd0.svg"/></a>
</body>
</html>