wordcamp-bristol-2019/wp-content/themes/twentynineteen-tailwindcss/src/css/components/forms.css

22 lines
324 B
CSS

textarea,
input[type=search] {
@apply border border-gray-400 p-2;
&:focus {
@apply outline-none bg-gray-100
}
&::placeholder {
@apply text-black
}
}
input[type=submit] {
@apply bg-blue-600 py-2 px-4 rounded text-white block mt-2 text-sm font-bold;
&:hover,
&:focus {
@apply bg-blue-700
}
}