I'm trying to style a preceding element in an html email. Since Outlook doesn't support css classes I'm trying to do this in element markup, but it's not working. Is it possible to use a before pseudo element in css that's an element's markup?
<html>
<head>
<title>Test before</title>
</head>
<body>
<div>I wanna be red</div>
<div style="before:: color:red">I'm not red</div>
<div>I'm just hanging out</div>
<div style="color:red">I'm red</div>
</body>
</html>