Well, I have a social icon list, for example.
HTML
<ul class="social-icons">
<li><a href="#"><i class="facebook-icon"></i></a></li>
<li><a href="#"><i class="twitter-icon"></i></a></li>
<li><a href="#"><i class="googleplus-icon"></i></a></li>
</ul>
CSS
.social-icons {
display:inline-block;
color:#FFF;
}
.facebook-icon {
background: #3b5998;
}
.twitter-icon {
background: #00aced;
}
.googleplus-icon {
background: #dd4b39;
}
And we get this :
Now I want to make a script that will increase the brightness of the background color for every icon when hovering, without having me manually writing new CSS lines with color codes for hover.
Also I don't want to use any others CSS methods like opacity, image masks or filters. It should be all done from JS.