Typo3 Formulare individuell Stylen

Mit folgendem Snipplet kann man Typo3 Formulare einfacher individuell Stylen:


tt_content.mailform.20.params.input = class="mf-input"
tt_content.mailform.20.params.password = class="mf-pass"
tt_content.mailform.20.params.textarea = class="mf-text"
tt_content.mailform.20.params.check = class="mf-check"
tt_content.mailform.20.params.radio = class="mf-radio"
tt_content.mailform.20.params.select = class="mf-select"
tt_content.mailform.20.params.file = class="mf-file"
tt_content.mailform.20.params.reset = class="mf-reset"
tt_content.mailform.20.params.submit = class="mf-submit"

oder auch kurz geschrieben


tt_content.mailform.20 {
params.input = class="csc-mailform-input"
params.password = class="csc-mailform-pass"
params.textarea = class="csc-mailform-text"
params.check = class="csc-mailform-check"
params.radio = class="csc-mailform-radio"
params.select = class="csc-mailform-select"
params.file = class="csc-mailform-file"
params.reset = class="csc-mailform-reset"
params.submit = class="csc-mailform-submit"
}

via sk-typo3