JSFiddle - React, Tailwind, and code Playground
HTML
<a href='tel:9999999999' data-text='+999 999 99 99'></a>
CSS
a {
font-weight: bold;
font-size: 20px;
}
a[data-text]:before {
content: attr(data-text)
}
<a href='tel:9999999999' data-text='+999 999 99 99'></a>
a {
font-weight: bold;
font-size: 20px;
}
a[data-text]:before {
content: attr(data-text)
}