JSFiddle - React, Tailwind, and code Playground
by oceog
HTML
<input placeholder="text" type="text" id="text" />
CSS
input::-webkit-input-placeholder::after {
content: " *";
color:red;
}
input::-moz-placeholder::after {
content: " *";
color:red;
}
input::-ms-input-placeholder::after {
content: " *";
color:red;
}