I want to apply gradient color for item in the menu on hover and when link is active:
<li class="nav-find-item active">
<a class="nav-find-link " href="#!dashboard">
<i class="fa fa-tachometer menu-icon"></i>
<span class="menu-title"> Dashboard</span>
</a>
</li>
here is my css style:
.sidebar-find .nav-find .nav-find-item.active {
background-image: linear-gradient(to right, #FFB88C, #191F28 10%);
}
.sidebar-find .nav-find .nav-find-item:hover {
background-image: linear-gradient(to right, #FFB88C, #191F28 10%);
}
Here is fiddle
But it doesnt get me the desired result. What I want:

I dont need the icon, just the color.
