.Tab1 {
background-image: url("http://dl.dg-site.com/wp-content/themes/aeron/images/dl-products-icons5.jpg");
background-repeat: no-repeat;
background-position: center;
background-clip: content-box;
width: 100px;
height: 75px;
display: block;
padding: 20px;
}
.Tab1:hover {
border: 2px solid #8CC63F;
}
.Tab1:visited {
border: 2px solid #8CC63F;
}
.Tab2 {
background-image: url("http://dl.dg-site.com/wp-content/themes/aeron/images/dl-products-icons3.jpg");
background-repeat: no-repeat;
background-position: center;
background-clip: content-box;
width: 100px;
height: 75px;
display: block;
padding: 20px;
}
.Tab2:hover {
border: 2px solid #8CC63F;
}
<ul>
<li class="Tab1"></li>
<li class="Tab2"></li>
</ul>
I have created a list with tabs, but I'm having trouble getting the selected item to display a border of 2px solid #8CC63F.
I've tried some solutions in the code section, but it doesn't seem to be working as expected. Can anyone help me figure out what's wrong?
Your assistance is greatly appreciated!