プレビュー
HTML
<search>
<label>Find
<input type="search" name="q" value="type" />
</label>
</search>
CSS
:root {
--ink: #3f382f;
--paper: #f7f1e6;
--accent: #8d6a3e;
--accent-2: #5a5148;
--on-accent: #fff8ee;
--muted: #8a7f72;
--line: #d8cbb8;
--chip: #efe6d4;
}
label {
display: grid;
gap: 0.3rem;
color: var(--ink);
font-family: Palatino, Georgia, serif;
font-size: 0.95rem;
}
input {
padding: 0.65rem 1.3rem;
border: 1px solid var(--line);
border-radius: 0;
background: var(--chip);
color: inherit;
font: inherit;
}
Tailwind
<style>
:root {
--ink: #3f382f;
--paper: #f7f1e6;
--accent: #8d6a3e;
--accent-2: #5a5148;
--on-accent: #fff8ee;
--muted: #8a7f72;
--line: #d8cbb8;
--chip: #efe6d4;
}
</style>
<search>
<label class="grid gap-[0.3rem] text-[var(--ink)] font-[Palatino,_Georgia,_serif] text-[0.95rem]">Find
<input class="p-[0.65rem_1.3rem] [border:1px_solid_var(--line)] rounded-[0] bg-[var(--chip)] text-inherit [font:inherit]" type="search" name="q" value="type" />
</label>
</search>