Skip to content

Instantly share code, notes, and snippets.

@DZuz14
Last active July 17, 2021 16:35
Show Gist options
  • Save DZuz14/dd29367eb175e4acaf67a6b8058d6669 to your computer and use it in GitHub Desktop.
Save DZuz14/dd29367eb175e4acaf67a6b8058d6669 to your computer and use it in GitHub Desktop.
coh1
import { Form } from 'react-bootstrap'
import formData from './formData'
const SomeComponent = () => {
return (
<div css={CSS}>
<Form>{/* */}</Form>
</div>
)
}
const CSS = css`
height: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background: #282c34;
form {
width: 400px;
}
label {
color: #adb5bd;
text-transform: capitalize;
}
.success {
color: white;
text-align: center;
}
.submit-button {
width: 100%;
text-align: center;
}
.error-message {
color: #e74d5b;
margin-top: 5px;
}
.outline-error {
border: 1px solid #e74d5b;
}
`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment