Contact Form 7 is a lightweight contact form built in extensibility for developers. This CSS uses form element CSS from Genesis Sample theme.
/* Contact From 7
——————————————— */
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea {
background-color: #fff;
border: 1px solid #ddd;
color: #333;
font-size: 18px;
font-weight: 400;
padding: 15px;
width: 100%;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
border: 1px solid #999;
outline: none;
}
.wpcf7 input[type=”checkbox”],
.wpcf7 input[type=”image”],
.wpcf7 input[type=”radio”] {
width: auto;
}
.wpcf7::-ms-input-placeholder {
color: #333;
opacity: 1;
}
.wpcf7:-ms-input-placeholder {
color: #333;
opacity: 1;
}
.wpcf7::placeholder {
color: #333;
opacity: 1;
}
.wpcf7 button,
.wpcf7 input[type=”button”],
.wpcf7 input[type=”reset”],
.wpcf7 input[type=”submit”],
.wpcf7 .button {
background-color: #333;
border: 0;
color: #fff;
cursor: pointer;
font-size: 16px;
font-weight: 600;
padding: 15px 30px;
text-align: center;
text-decoration: none;
white-space: normal;
width: auto;
}
.wpcf7 button:focus,
.wpcf7 button:hover,
.wpcf7 input[type=”button”]:focus,
.wpcf7 input[type=”button”]:hover,
.wpcf7 input[type=”reset”]:focus,
.wpcf7 input[type=”reset”]:hover,
.wpcf7 input[type=”submit”]:focus,
.wpcf7 input[type=”submit”]:hover,
.wpcf7 .button:focus,
.wpcf7 .button:hover {
background-color: #0073e5;
color: #fff;
}