Skip to content

Instantly share code, notes, and snippets.

@megane9988
Created July 29, 2015 04:08
Show Gist options
  • Select an option

  • Save megane9988/7a5fecdaac7c02d4e8b2 to your computer and use it in GitHub Desktop.

Select an option

Save megane9988/7a5fecdaac7c02d4e8b2 to your computer and use it in GitHub Desktop.
mw wp form でcssを分岐するとき
.mw_wp_form{
.stepimg{
width: 100%;
height: 80px;
background-image: url(../images/step1.png);
background-repeat: no-repeat;
background-position: top center;
}
.mw-wp-form_image{
img{
max-width:100%;
height: auto;
}
}
&.mw_wp_form_confirm{
.stepimg{
background-image: url(../images/step2.png);
}
dl dd {
color: #000;
.label {
color: #823F00;
}
.mail2nd{
display: none;
}
}
.agreement{
display: none;
}
}
&.mw_wp_form_complete{
.stepimg{
background-image: url(../images/step3.png);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment