I am working on custom css for BBCode extension. How do I get my class to escape out of an inherited class?
.Post-body a {
text-decoration:none;
border-bottom: 1px solid #ce8483;
box-shadow: inset 0 -1px 0 #ce8483;
color: #ce8483;
transition: background 0.1s cubic-bezier(.33,.66,.66,1);
}
.Post-body a:hover {
background: rgba(206, 132, 131, .8);
color: black;
}
So my BBCode is within the <div class=Post-body> but I do not want it to inherit the link hover effects (above code) that belong to the post-body class.
Any guidance would be greatly appreciated.