Can anybody please suggest, I wanted to add an '*' after the text field(example Email*) but I am not able achieve it. It is for Mendix app for mobile. Have added the CSS like below: export const requiredField = { after:{ content: "*", color: "green", }, '&::after':{ content: "*", color: "grey", }, 'text::after':{ content: "*", color: "red", },
asked
Vaishali Rana
1 answers
0
Hi Vaishali Rana,
Try this code below :
.req label::after {
content: '*';
color: #EB4747;
font-weight: 600;
}
use the class name "req " in the text box where u need it.