0% found this document useful (0 votes)
70 views

CSS Code For Asterisk Symbol

This CSS code adds a large red asterisk symbol after any HTML element assigned the "requiredAsterisk" class to indicate a required field. The code uses the :after pseudo-element with the content, color, and font-size properties to display the asterisk. Developers should add this code to a style sheet and use the "requiredAsterisk" class to require fields in the presentation tab of UI controls like text inputs and dropdowns.

Uploaded by

Sadiq Shaik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views

CSS Code For Asterisk Symbol

This CSS code adds a large red asterisk symbol after any HTML element assigned the "requiredAsterisk" class to indicate a required field. The code uses the :after pseudo-element with the content, color, and font-size properties to display the asterisk. Developers should add this code to a style sheet and use the "requiredAsterisk" class to require fields in the presentation tab of UI controls like text inputs and dropdowns.

Uploaded by

Sadiq Shaik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

CSS code for Asterisk Symbol (*)

CSS Code

.requiredAsterisk:after {

content:" *";

color: red;

font-size:50px;

Note: Add this code in any one of the CSS Style sheet from Skin
Add " requiredAsterisk” in the presentation tab of the UI control Ex: Text Input, Label,
Dropdown

You might also like