I want to have two text color and font-weight within the same text element like below.
<div className={s.mainTitle}>
I want to keep this color white! <br />
But I want to only change the end word **green and bold**!
</div>
In the above example, I want to change only green and bold to green/bold, i.e. apply text-green-500 and font-bold using tailwind css.
In my current css file, I write something like
.mainTitle {
@apply text-white-default
@apply font-normal
}
How can I apply additional tailwind css properties only specific word?