Instantly share code, notes, and snippets.

Embed
What would you like to do?
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