Is it possible to make the last letter of a word appear red using CSS?
<asp:Label ID="QuestionText" runat="server" CssClass="asterisk"></asp:Label>
.asterisk:after
{
color: Red;
content: " *";
}
The challenge arises from the fact that the questions are retrieved from a database, making it tricky to directly modify the text. Please refer to the following example:
Displayed below is a sample of text fetched from the database: Question: