Skip to content

Instantly share code, notes, and snippets.

@HigoRibeiro
Last active September 30, 2019 03:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HigoRibeiro/a4f2eefcff7e697db3150a6bfce152ba to your computer and use it in GitHub Desktop.
Save HigoRibeiro/a4f2eefcff7e697db3150a6bfce152ba to your computer and use it in GitHub Desktop.
AirBnB: AddProperty styles.js
export const Form = styled.form`
display: flex;
flex-direction: column;
align-items: center;
padding: 10px 20px;
p {
color: #ff3333;
margin-bottom: 15px;
border: 1px solid #ff3333;
padding: 10px;
width: 100%;
text-align: center;
}
input {
flex: 1;
height: 46px;
margin-bottom: 15px;
padding: 0 20px;
color: #777777;
font-size: 15px;
width: 100%;
border: 1px solid #cccccc;
&::placeholder {
color: #999999;
}
}
hr {
margin: 20px 0;
border: none;
border-bottom: 1px solid #cdcdcd;
width: 100%;
}
a {
font-size: 16px;
font-weight: bold;
color: #999999;
text-decoration: none;
}
div.actions {
display: flex;
margin-top: 15px;
width: 100%;
justify-content: space-between;
button {
color: #ffffff;
font-size: 16px;
background: #fc6963;
height: 56px;
border: 0;
border-radius: 5px;
padding: 0 30px;
&.cancel {
background: #222222;
}
}
}
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment