Skip to content

Instantly share code, notes, and snippets.

@FreshLondon
Created May 16, 2019 08:23
Show Gist options
  • Select an option

  • Save FreshLondon/d552894764fa630d8f351fd2ecb6245c to your computer and use it in GitHub Desktop.

Select an option

Save FreshLondon/d552894764fa630d8f351fd2ecb6245c to your computer and use it in GitHub Desktop.
MahoneFirmFormScss
.contact-outer {
.contact-halves {
display: flex;
justify-content: space-between;
@media (max-width: 767px) {
flex-direction: column;
}
.contact-left {
display: flex;
flex-direction: column;
margin-right: 12px;
}
.contact-left,
.contact-right {
width: calc(50% - 6px);
@media (max-width: 767px) {
width: 100%;
}
input[type=email], input[type=text], input[type=tel], textarea {
width: 100%;
background-color: #fff;
border: 1px solid #ececec;
box-shadow: none;
-webkit-box-shadow: none;
padding: 10px 16px;
font-size: 18px;
line-height: 1.33;
border-radius: 6px;
margin-bottom: 15px;
}
textarea {
height: 165px;
}
}
&.contact-footer {
.contact-right {
text-align: right;
@media (max-width: 767px) {
text-align: center;
}
input[type=submit] {
background-color: #3962a5;
color: #fff;
border: 1px solid #3962a5;
border-radius: 4px;
padding: 6px 12px;
text-transform: uppercase;
}
}
@media (max-width: 767px) {
.contact-left {
> div > div {
margin: 0 auto 15px;
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment