Is it feasible to create 2 distinct custom (a tag) classes, each with unique class names?
For Instance:
When I try to use these in my HTML code, I struggle to create 2 different styles for (a tag) with different names!
<a class="type1" href="#">test1</a>
<a class="type2" href="#">test2</a>
How can I have 2 instances, with different names for these? Where should I apply type1 and type2?
<style>
a.type1:link {color:#FFFFFF;}
a.type1:visited {color:#70B6F2;}
a.type1:hover {color:#70B6F2;}
a.type1:active {color:#70B6F2;}
a.type2:link {text-decoration:none;}
a.type2:visited {text-decoration:none;}
a.type2:hover {text-decoration:none;}
a.type2:active {text-decoration:none;}
</style>
Thanks