As I work on my project, I am aiming to style the CSS content class in both italic and bold formats. Take a look at the code snippet below.
div::before {
content: "text";
color:black;
}
<div></div>
My goal is to achieve this exclusively through CSS without any reliance on HTML. This restriction is due to the fact that I am creating a Discord Theme, which must be implemented using CSS only.