mirror of
https://github.com/cupcakearmy/formhero.git
synced 2025-09-06 06:10:40 +00:00
rename auto to field
This commit is contained in:
@@ -1,67 +1,64 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Form Hero</title>
|
||||
<style>
|
||||
body {
|
||||
padding: 1em;
|
||||
margin: 0;
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
}
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Form Hero</title>
|
||||
<style>
|
||||
body {
|
||||
padding: 1em;
|
||||
margin: 0;
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
}
|
||||
section {
|
||||
text-align: center;
|
||||
max-width: 25em;
|
||||
margin: 1em auto;
|
||||
padding: 1em;
|
||||
background-color: #f3f3f3;
|
||||
border-radius: 0.5em;
|
||||
box-shadow: 0 8px 16px -16px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
section {
|
||||
text-align: center;
|
||||
max-width: 25em;
|
||||
margin: 1em auto;
|
||||
padding: 1em;
|
||||
background-color: #f3f3f3;
|
||||
border-radius: .5em;
|
||||
box-shadow: 0 8px 16px -16px rgba(0, 0, 0, .5);
|
||||
}
|
||||
input {
|
||||
font-size: 1.25em;
|
||||
display: block;
|
||||
padding: 0.5em 1em;
|
||||
margin-top: 0.5em;
|
||||
border-radius: 1em;
|
||||
width: 100%;
|
||||
outline: none;
|
||||
border: 0.15em solid white;
|
||||
}
|
||||
|
||||
input {
|
||||
font-size: 1.25em;
|
||||
display: block;
|
||||
padding: .5em 1em;
|
||||
margin-top: .5em;
|
||||
border-radius: 1em;
|
||||
width: 100%;
|
||||
outline: none;
|
||||
border: .15em solid white;
|
||||
}
|
||||
input:focus,
|
||||
input:hover {
|
||||
border-color: #31def5;
|
||||
}
|
||||
|
||||
input:focus,
|
||||
input:hover {
|
||||
border-color: #31def5;
|
||||
input[type='submit'] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
}
|
||||
input[type='checkbox'] {
|
||||
display: inline;
|
||||
width: initial;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
input[type="submit"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
<body>
|
||||
<section>
|
||||
<h3>Open the console to see the submitted data</h3>
|
||||
</section>
|
||||
<section id="simple"></section>
|
||||
<section id="errors"></section>
|
||||
<section id="select"></section>
|
||||
<section id="custom"></section>
|
||||
|
||||
input[type="checkbox"] {
|
||||
display: inline;
|
||||
width: initial;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<section>
|
||||
<h3>Open the console to see the submitted data</h3>
|
||||
</section>
|
||||
<section id="simple"></section>
|
||||
<section id="errors"></section>
|
||||
<section id="select"></section>
|
||||
<section id="custom"></section>
|
||||
|
||||
<script src="./simple.tsx"></script>
|
||||
<script src="./errorsAndValidation.tsx"></script>
|
||||
<script src="./select.tsx"></script>
|
||||
<script src="./custom.tsx"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<script src="./simple.tsx"></script>
|
||||
<script src="./errorsAndValidation.tsx"></script>
|
||||
<script src="./select.tsx"></script>
|
||||
<script src="./custom.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user