CSS class
.MyLinkList {
border: 2px solid yellow !important;
border-left: 2px solid green !important;
font-family: chiller !important;
font-size: 12px !important;
color: red !important;
}
<li class="MyLinkList">
<span style="padding-right: 10px;font-family:Arial;font-size:11px;color:Black;font-style:normal;font-weight:normal;text-decoration:none;">g</span>
</li>
For span the inline style is given which getting more priority and our class MyLinkList
color style etc is not get applied how I can make span takes the MyLinkList
class style. I know I can use .MyLinkList span
but I don't want that.