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

index.css

43 lines636 Bytes

1#root {
2 width: 70rem;
3 max-width: 100%;
4 margin: 0 auto;
5 text-align: center;
6 min-height: 100svh;
7 box-sizing: border-box;
8 font-family: system-ui, sans-serif;
9}
10​
11button {
12 margin: 0.5rem;
13 padding: 0.5rem 0.75rem;
14 cursor: pointer;
16​
17label {
18 display: grid;
19 gap: 0.35rem;
20 margin: 1rem auto;
21 max-width: 18rem;
23​
24input {
25 border: 1px solid #d4d4d8;
26 border-radius: 0.5rem;
27 padding: 0.5rem 0.75rem;
29​
30small {
31 min-height: 1.25rem;
32 color: #dc2626;
33 white-space: pre-line;
35​
36label.validating > input {
37 border-color: #93c5fd;
39​
40input[aria-invalid='true'] {
41 border-color: #fca5a5;
42 background: #fef2f2;