Example: inline styles for a field component

The following images depict a text field before and after inline styles are applied to it.

Text box component before inline styling is applied

Text box component before applying inline style properties

Notice the change in text box style as shown in the following image after applying the following CSS properties.

SelectorCSS propertyValueEffect
Fieldborder

Border width =2px

Border style=Solid

Border color=#1111

Creates a Black 2px wide border around the field
Text boxbackground-color#6495ED

Changes the background color to CornflowerBlue (#6495ED)

Note: You can specify a color name or its hex code in the value field.

LabelDimenstions & Position > width100pxFixes the width as 100px for the label
Field Help IconText > Font Color#2ECC40Changes the color of the help icon face.
Long descriptiontext-aligncenterAligns the long description for help to center

Text box style after inline styling is applied
Figure: Text box component after applying inline style properties

Following the steps above, you can select and style other components, such as panels, submit buttons, and radio buttons.

NOTE
Styling properties vary based on the component you select.
recommendation-more-help