modules-forms-lyndi/css/01-form.css

10 lines
267 B
CSS

form {
--textarea-height: 6em;
--label-height: 1.5em;
display: flex;
flex-direction: column;
justify-content: space-around;
padding-top: 2em;
padding-bottom: 2em;
height: calc(9 * 1.5 * var(--label-height) + var(--textarea-height));
}