Optimizely Forms is only supported by MVC-based websites and HTML5-compliant browsers.
The built-in form elements have minimal styling rules with the expectation that a developer will modify the appearance for site application. The styling rules apply to rendering whether you view or edit a form.
Optimizely Forms uses the _EPiServerForms.less_ file to generate the _EPiServerForms.css_ file that is used to view and edit a form.
Original _.less_ files are included in the Optimizely Forms NuGet package.
ElementTextBox`, if separate, the `
FormTextBox` CSS class is for CSS styling. The `
FormTextBox` and `
## Alter the default styling of forms
You can alter the default styling of a form by directly modifying the CSS file in _wwwroot/modules/\_protected/EPiServer.Forms/x.xx/ClientResources/ViewMode_. You can modify styling rules freely but the following rules apply:
When you adjust the HTML of the view template element, keep the structure (parent-child, block-element relation) and default class names as-is.
Keep default CSS classes in the element view template as-is. You can add your own, but do not remove the existing ones.