Skip to content

Instantly share code, notes, and snippets.

@kuzvac
Forked from iaanvn/gravityforms
Created December 25, 2015 12:22
Show Gist options
  • Save kuzvac/aed4a24466ed7b571d9a to your computer and use it in GitHub Desktop.
Save kuzvac/aed4a24466ed7b571d9a to your computer and use it in GitHub Desktop.
Gravity Forms CSS Structure
.gform_wrapper {
// Steps
.gf_page_steps{
.gf_step{
}
.gf_step_active{
}
}
// Heading
.gform_heading{
.gform_description{
}
}
// Form Body
.gform_body{
.gform_fields{
.gsection{
.gsection_title{
}
.gsection_description{
}
}
.gfield{
.gfield_label{
}
select{
}
input[type=text],
input[type=email],
input[type=tel],
input[type=url]{
}
textarea{
}
.gfield_radio{
li{
input[type=radio]{
}
}
}
.gfield_checkbox{
li{
input[type=checkbox]{
}
}
}
}
.gfield_error{
.validation_message{
}
}
}
.gform_page_footer{
.gform_next_button{
}
.gform_previous_button{
}
.gform_button{
}
}
}
// Form Footer
.gform_footer{
input[type=submit]{
}
}
// Validation Error
.validation_error{
}
}
// Confirmation Message
#gforms_confirmation_message{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment