mirror of
https://github.com/cupcakearmy/formhero.git
synced 2024-12-22 08:06:24 +00:00
example style
This commit is contained in:
parent
82cc6b8c70
commit
4d3010e3be
@ -10,17 +10,24 @@
|
|||||||
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
section {
|
section {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
max-width: 25em;
|
max-width: 25em;
|
||||||
margin: 1em auto;
|
margin: 2em auto;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
background-color: #f3f3f3;
|
background-color: #f3f3f3;
|
||||||
border-radius: 0.5em;
|
border-radius: 2rem;
|
||||||
box-shadow: 0 8px 16px -16px rgba(0, 0, 0, 0.5);
|
box-shadow: 0 8px 16px -16px rgba(0, 0, 0, 0.5);
|
||||||
|
border: 0.2rem solid #bae8ee;
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input,
|
||||||
|
select {
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
display: block;
|
display: block;
|
||||||
padding: 0.5em 1em;
|
padding: 0.5em 1em;
|
||||||
@ -28,7 +35,7 @@
|
|||||||
border-radius: 1em;
|
border-radius: 1em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
outline: none;
|
outline: none;
|
||||||
border: 0.15em solid white;
|
border: 0.2rem solid #bae8ee;
|
||||||
}
|
}
|
||||||
|
|
||||||
input:focus,
|
input:focus,
|
||||||
@ -44,12 +51,17 @@
|
|||||||
display: inline;
|
display: inline;
|
||||||
width: initial;
|
width: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
form {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<section>
|
<section>
|
||||||
<h3>Open the console to see the submitted data</h3>
|
<i>Open the console to see the submitted data</i>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<script type="module" src="./simple.tsx"></script>
|
<script type="module" src="./simple.tsx"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user