Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

styles.css

38 lines496 Bytes

1#root {
2 width: 70rem;
3 max-width: 100%;
4 margin: 0 auto;
5 text-align: center;
6 font-family: system-ui, sans-serif;
7}
8​
9#root form,
10#root label {
11 display: grid;
12 gap: 0.5rem;
14​
15#root form {
16 max-width: 24rem;
17 margin: auto;
19​
20#root input,
21#root button {
22 font: inherit;
23 padding: 0.55rem 0.7rem;
25​
26#root small {
27 min-height: 1.25rem;
28 color: #b42318;
29 white-space: pre-line;
31​
32#root input[aria-invalid='true'] {
33 border-color: #b42318;
35​
36#root .validating {
37 opacity: 0.7;