Coder Wrap provides free to use snippets Coder Wrap provides free to use snippets

Back to Forms
Preview Source Code
Download
HTML
CSS
/**Typeo CSS Start**/
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,500;0,700;0,800;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
 box-sizing: border-box;
}

body {
 margin: 0px;
 background-color: #ffffff;
}

/**Typeo CSS End**/
.contactus-scn, .contactus-scn * {
 --page-width: 1230px;
 --base-fm: 'Rubik', sans-serif;
 --title-size: 30px;
 --base-size: 18px;
 --base-clr: #2e2e2e;
 --white-clr: #ffffff;
 --theme-clr: #ff6200;
 --bg-clr: #f8f9fa;
}

.text-center {
 text-align: center;
}

.page-width {
 max-width: var(--page-width);
 margin: auto;
 width: 100%;
 padding: 0 15px;
}

.contactus-scn {
 padding: 70px 0px;
 font-family: var(--base-fm);
 font-size: var(--base-size);
 color: var(--base-clr);
 background-color: var(--bg-clr);
}

.contactus-scn .sub-title {
 display: block;
 color: var(--theme-clr);
}

.contactus-scn .global-title {
 margin: 6px 0;
 font-size: var(--title-size);
}

.cont-part {
 display: block;
 width: 100%;
 margin: 30px 0;
}

.cont-part .c-info-label {
 font-weight: 700;
}

.cont-part p {
 margin: 5px 0px 20px 0px;
 display: block;
}

.cont-part a {
 color: var(--theme-clr);
}

.cont-part a:hover {
 text-decoration: none;
}

.cont-part:first-child {
 margin-top: 0;
}

.social-login {
 display: flex;
 flex-flow: row wrap;
 margin-top: 20px;
}

.social-login a {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 text-align: center;
 background: #3b5998;
 margin: 0px 10px;
 text-decoration: none;
 display: flex;
 flex-flow: row wrap;
 align-items: center;
 justify-content: center;
}

.social-login a:first-child {
 margin-left: 0px;
}

.social-login a svg {
 max-height: 16px;
}

.social-login a.facebook svg {
 max-height: 20px;
}

.social-login .twitter {
 background: #1da1f2;
}

.social-login .google {
 background: #ea4335;
}

.contact-view {
 display: flex;
 flex-flow: row wrap;
 width: 100%;
 justify-content: space-between;
 padding-top: 30px;
}

.contact-view .cont-details, .contact-view .content-form {
 width: 48%;
}

.twice-two {
 display: grid;
 grid-gap: 20px;
 grid-template-columns: 1fr 1fr;
 margin-bottom: 20px;
}

.twice {
 margin-bottom: 20px;
}

.content-form input, .content-form textarea {
 background: var(--bg-clr);
 border: 2px solid rgba(216, 216, 216, 0.3);
 color: #777;
 font-size: var(--base-size);
 padding: 12px 15px;
 width: 100%;
 border-radius: 4px;
 height: 55px;
 font-family: var(--base-fm);
}

.content-form form textarea {
 resize: none;
 min-height: 140px;
}

.content-form .btn-contact {
 border: none;
 font-size: 16px;
 padding: 15px 30px;
 margin: 20px auto 0;
 color: var(--white-clr);
 background: var(--theme-clr);
 border-color: var(--theme-clr);
 display: inline-block;
 font-weight: 400;
 text-align: center;
 vertical-align: middle;
 cursor: pointer;
 -webkit-user-select: none;
 -moz-user-select: none;
 -ms-user-select: none;
 user-select: none;
 border: 1px solid transparent;
 border-radius: 0.25rem;
 transition: 0.5s all;
 font-family: var(--base-fm);
 text-transform: uppercase;
}

.content-form .btn-contact:hover {
 opacity: 0.8;
}

@media(max-width:767px) {
 .contactus-scn {
  padding: 40px 0px;
  font-size: calc(var(--base-clr) - 2px)
 }

 .contactus-scn .global-title {
  font-size: calc(var(--title-size) - 6px);
 }

 .contact-view {
  padding-top: 10px;
 }

 .contact-view .cont-details, .contact-view .content-form {
  width: 100%;
 }

 .contact-view .cont-details {
  order: 2;
  margin-top: 40px;
 }

 .twice {
  margin-bottom: 10px;
 }

 .twice-two {
  grid-gap: 10px;
  margin-bottom: 10px;
 }

}

Related Snippets

Leave a comment

Your email address will not be published. Required fields are marked *