DotNetCore-MVC-SQL-Angular-Html
Tuesday 6 September 2016
Set asterisk(*) for required field using css
CSS
.required:after
{
color:red; content:" *";
}
Example:
<label class="required" >Name</label>
It will show
Name
*
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment