@ -17,8 +17,10 @@
< div class = "form--field -required" >
< div class = "form--field -required" >
< label class = "form--label" > Text:< / label >
< label class = "form--label" > Text:< / label >
< div class = "form--field-container" >
< div class = "form--field-container" >
< div class = "form--text-field-container" >
< input type = "text" class = "form--text-field" >
< input type = "text" class = "form--text-field" >
< / div >
< / div >
< / div >
< div class = "form--field-instructions" >
< div class = "form--field-instructions" >
Write anything you like.
Write anything you like.
< / div >
< / div >
@ -26,8 +28,10 @@
< div class = "form--field" >
< div class = "form--field" >
< label class = "form--label" > Email:< / label >
< label class = "form--label" > Email:< / label >
< div class = "form--field-container" >
< div class = "form--field-container" >
< div class = "form--text-field-container" >
< input type = "email" class = "form--text-field" placeholder = "a valid email" >
< input type = "email" class = "form--text-field" placeholder = "a valid email" >
< / div >
< / div >
< / div >
< div class = "form--field-extra-actions" >
< div class = "form--field-extra-actions" >
< a href = "#" > Request new email< / a >
< a href = "#" > Request new email< / a >
< / div >
< / div >
@ -35,8 +39,10 @@
< div class = "form--field -required" >
< div class = "form--field -required" >
< label class = "form--label" > Number:< / label >
< label class = "form--label" > Number:< / label >
< div class = "form--field-container" >
< div class = "form--field-container" >
< div class = "form--text-field-container" >
< input type = "number" class = "form--text-field" >
< input type = "number" class = "form--text-field" >
< / div >
< / div >
< / div >
< div class = "form--field-instructions" >
< div class = "form--field-instructions" >
Any number from 1 to 10!
Any number from 1 to 10!
< / div >
< / div >
@ -44,8 +50,10 @@
< div class = "form--field -required" >
< div class = "form--field -required" >
< label class = "form--label" > Long text:< / label >
< label class = "form--label" > Long text:< / label >
< div class = "form--field-container" >
< div class = "form--field-container" >
< div class = "form--text-area-container" >
< textarea class = "form--text-area" > El resto della concluían sayo de velarte, calzas de velludo para las fiestas, con sus pantuflos de lo mesmo, y los días de entresemana se honraba con su vellorí de lo más fino.< / textarea >
< textarea class = "form--text-area" > El resto della concluían sayo de velarte, calzas de velludo para las fiestas, con sus pantuflos de lo mesmo, y los días de entresemana se honraba con su vellorí de lo más fino.< / textarea >
< / div >
< / div >
< / div >
< div class = "form--field-instructions" >
< div class = "form--field-instructions" >
Write more about anything.
Write more about anything.
< / div >
< / div >
@ -62,14 +70,18 @@
< div class = "form--field -required" >
< div class = "form--field -required" >
< label class = "form--label" > Text:< / label >
< label class = "form--label" > Text:< / label >
< div class = "form--field-container" >
< div class = "form--field-container" >
< div class = "form--text-field-container" >
< input type = "text" class = "form--text-field" >
< input type = "text" class = "form--text-field" >
< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "form--field" >
< div class = "form--field" >
< label class = "form--label" > Email:< / label >
< label class = "form--label" > Email:< / label >
< div class = "form--field-container" >
< div class = "form--field-container" >
< div class = "form--text-field-container" >
< input type = "email" class = "form--text-field" placeholder = "a valid email" >
< input type = "email" class = "form--text-field" placeholder = "a valid email" >
< / div >
< / div >
< / div >
< div class = "form--field-instructions" >
< div class = "form--field-instructions" >
Your personal email address.
Your personal email address.
< / div >
< / div >
@ -77,8 +89,10 @@
< div class = "form--field -required" >
< div class = "form--field -required" >
< label class = "form--label" > Number:< / label >
< label class = "form--label" > Number:< / label >
< div class = "form--field-container" >
< div class = "form--field-container" >
< div class = "form--text-field-container" >
< input type = "number" class = "form--text-field" >
< input type = "number" class = "form--text-field" >
< / div >
< / div >
< / div >
< div class = "form--field-instructions" >
< div class = "form--field-instructions" >
Any number from 1 to 10!
Any number from 1 to 10!
< / div >
< / div >
@ -86,8 +100,10 @@
< div class = "form--field -required" >
< div class = "form--field -required" >
< label class = "form--label" > Long text:< / label >
< label class = "form--label" > Long text:< / label >
< div class = "form--field-container" >
< div class = "form--field-container" >
< div class = "form--text-field-container" >
< textarea class = "form--text-area" > El resto della concluían sayo de velarte, calzas de velludo para las fiestas, con sus pantuflos de lo mesmo, y los días de entresemana se honraba con su vellorí de lo más fino.< / textarea >
< textarea class = "form--text-area" > El resto della concluían sayo de velarte, calzas de velludo para las fiestas, con sus pantuflos de lo mesmo, y los días de entresemana se honraba con su vellorí de lo más fino.< / textarea >
< / div >
< / div >
< / div >
< div class = "form--field-instructions" >
< div class = "form--field-instructions" >
Write more about anything.
Write more about anything.
< / div >
< / div >
@ -95,6 +111,66 @@
< / form >
< / form >
```
```
## Forms: Multiple fields per row
```
@full -width
< form class = "form" >
< div class = "form--field -required" >
< label class = "form--label" > Lieblingsstädte:< / label >
< div class = "form--field-container" >
< div class = "form--text-field-container" >
< input type = "text" class = "form--text-field" value = "Leipzig" >
< / div >
< div class = "form--text-field-container" >
< input type = "text" class = "form--text-field" placeholder = "Berlin" >
< / div >
< div class = "form--text-field-container" >
< input type = "text" class = "form--text-field" placeholder = "Zürich" >
< / div >
< div class = "form--text-field-container" >
< input type = "text" class = "form--text-field" placeholder = "Paris" >
< / div >
< div class = "form--text-field-container" >
< input type = "text" class = "form--text-field" placeholder = "Rom" >
< / div >
< / div >
< / div >
< div class = "form--field -required" >
< label class = "form--label" > Geburtsdatum:< / label >
< div class = "form--field-container" >
< div class = "form--select-container" >
< select class = "form--select" >
< option > 01< / option > < option > 02< / option > < option > 03< / option >
< / select >
< / div >
< div class = "form--select-container" >
< select class = "form--select" >
< option > Januar< / option >
< option selected > Februar< / option >
< option > März< / option >
< option > April< / option >
< option > Mai< / option >
< option > Juni< / option >
< option > Juli< / option >
< option > August< / option >
< option > September< / option >
< option > Oktober< / option >
< option > November< / option >
< option > Dezember< / option >
< / select >
< / div >
< div class = "form--text-field-container" >
< input type = "number" class = "form--text-field" placeholder = "1984" >
< / div >
< / div >
< div class = "form--field-instructions" >
One never lies about one's age.
< / div >
< / div >
< / form >
```
# Forms: Text fields
# Forms: Text fields
@ -219,12 +295,14 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
< div class = "form--field" >
< div class = "form--field" >
< label class = "form--label" > Oranges:< / label >
< label class = "form--label" > Oranges:< / label >
< div class = "form--field-container" >
< div class = "form--field-container" >
< div class = "form--select-container" >
< select class = "form--select" >
< select class = "form--select" >
< option > one< / option >
< option > one< / option >
< option > two< / option >
< option > two< / option >
< option > three< / option >
< option > three< / option >
< / select >
< / select >
< / div >
< / div >
< / div >
< div class = "form--field-instructions" >
< div class = "form--field-instructions" >
Oranges are rich in Vitamin C. Eat more than two!
Oranges are rich in Vitamin C. Eat more than two!
< / div >
< / div >
@ -232,6 +310,7 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
< div class = "form--field" >
< div class = "form--field" >
< label class = "form--label" > Apples:< / label >
< label class = "form--label" > Apples:< / label >
< div class = "form--field-container" >
< div class = "form--field-container" >
< div class = "form--select-container" >
< select class = "form--select" multiple >
< select class = "form--select" multiple >
< option > one< / option >
< option > one< / option >
< option > two< / option >
< option > two< / option >
@ -239,6 +318,7 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
< / select >
< / select >
< / div >
< / div >
< / div >
< / div >
< / div >
< / form >
< / form >
```
```