How can I style an abbr tag's title in Bootstrap 4? I am struggling to override the styles set in bootstrap.css.
This is what I have tried so far, but the tooltip remains unchanged:
abbr[title]::after {
/* content: " (" attr(title) ")"; */
background-color: indigo;
color: white;
}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"></script>
<p>
Pre-mRNA comprises the bulk of <abbr title="heterogeneous nuclear RNA" class="text-info font-italic">hnRNA</abbr>.
</p>
Is there a solution to this issue? Thank you.