I have a div element that I would like to customize the text selection style for.
Currently, setting the style using CSS works perfectly:
<div>Text text here</div>
<style>
div::selection {
background: #FFF;
color: #000;
}
</style>
The issue is that I need to embed this code inline in an email. Is there a way to achieve this with inline styles?
(<div style=""></div>
)
Any suggestions on how to accomplish this task?