Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class='container'>               
<form id="step1" method="post" name="step1" action="?step=1">

                        <div class="infos">
                            <p>Nous vous invitons à entrer vos coordonn&eacute;es, puis &agrave; nous envoyer votre don par ch&egrave;que</p>
                            <p>Les dons pourront etre r&eacute;alis&eacute;s par virement d&egrave;s le mois de septembre</p>		
                        </div>   
                        <div class="form-group">
                            <div class="row">
                                <div class='col-lg-6 col-xs-12 don-unique'>
                                    <label class="radio-inline first">
                                        <input type="radio" name="votreDon" id="votreDonLeft" value="votreDonLeft" required ><span class="lbl padding-8">J'effectue un<span class="gold">&nbsp;don unique&nbsp;</span>d'un montant de:</span>
                                    </label>
                                    <label class="radio-inline donunique">
                                        <input type="radio" name="donunique" id="donunique-100" value="100"  disabled required><span class="lbl padding-8">100 &euro;</span>
                                    </label>
                                    <label class="radio-inline donunique">
                                        <input type="radio" name="donunique" id="donunique-250" value="250"  disabled><span class="lbl padding-8">250 &euro;</span>
                                    </label>
                                    <label class="radio-inline donunique">
                                        <input type="radio" name="donunique" id="donunique-500" value="500"  disabled><span class="lbl padding-8">500 &euro;</span>
                                    </label>
                                    <label class="radio-inline donunique">
                                        <input type="radio" name="donunique" id="donunique-1000" value="1000"  disabled><span class="lbl padding-8">1000 &euro;</span>
                                    </label>
                                    <label class="radio-inline donunique">
                                        <input type="radio" name="donunique" id="donunique-1500" value="1500"  disabled><span class="lbl padding-8">1500 &euro;</span>
                                    </label>
                                  
                                  
                                </div>

                                <div class='col-lg-6 col-xs-12 don-mensuel'>
                                    <label class="radio-inline first">
                                        <input type="radio" name="votreDon" id="votreDonRigth" value="votreDonRight" required ><span class="lbl padding-8">J'effectue un<span class="gold">&nbsp;don mensuel&nbsp;</span>d'un montant de:</span>
                                    </label>
                                    <label class="radio-inline donmensuel">
                                        <input type="radio" name="donmensuel" id="donmensuel-10" value="10"  disabled required><span class="lbl padding-8">10 &euro; / mois</span>
                                    </label>
                                    <label class="radio-inline donmensuel">
                                        <input type="radio" name="donmensuel" id="donmensuel-25" value="25"  disabled><span class="lbl padding-8">25 &euro; / mois</span>
                                    </label>
                                    <label class="radio-inline donmensuel">
                                        <input type="radio" name="donmensuel" id="donmensuel-50" value="50"  disabled><span class="lbl padding-8">50 &euro; / mois</span>
                                    </label>
                                    <label class="radio-inline donmensuel">
                                        <input type="radio" name="donmensuel" id="donmensuel-100" value="100"  disabled><span class="lbl padding-8">100 &euro; / mois</span>
                                    </label>
                                    <label class="radio-inline donmensuel">
                                        <input type="radio" name="donmensuel" id="donmensuel-150" value="150"  disabled><span class="lbl padding-8">150 &euro; / mois</span>
                                    </label>
                              
                                </div>

                                <div class="col-lg-12 col-xs-12"><p>Par carte bancaire le minimum est de 20 &euro; , le maximum est de 1500 &euro;</p>
                                    <p>Aucune restriction pour les paiements par ch&egrave;ques ou esp&egrave;ces</p>

                                    <div class="form-group">
                                        <label class="radio-inline last">
                                            <input type="radio" name="recufiscal" id="recufiscal" value="recufiscal"/><span class="lbl padding-8">Je suis contribuable français et je souhaite recevoir un reçu fiscal</span>
                                        </label>
                                    </div>
                                </div>
                                <button class="greenbutton" type="submit" >Etape suivante</button>
                            </div>
                        </div>
                    </form>
</div>
              
            
!

CSS

              
                #etape_simulation div+div {
	color: #808080;
}

#etape_simulation ul li {
	opacity: 0.5
}

#etape_simulation ul li .active {
	opacity: 1
}

#etape_simulation .progression li {
	display: inline-block
}

#etape_simulation label {
	width: 100%
}

#step1 div+div+div p {
	font-size: 12px;
	padding-left: 16px;
	line-height: 5px;
	margin-top: 1em
}

.don-mensuel {
	opacity: 0.5
}

#step1 .last {
	padding-left: 16px!important
}

.greenbutton {
	background-color: #c9a64f;
	padding: 10px;
	min-width: 230px;
	margin-left: 0;
	border-left: 10px solid #ae914e;
	color: #fff;
	border-top: 0;
	border-bottom: 0;
	border-right: 0;
	font-size: 1.2em;
}

.greenbutton:after {
	content: "";
	background: url("img/arrow.png") no-repeat scroll center center / 100% auto transparent;
	padding-left: 1em;
	margin-left: 1em;
}

.radio-inline+.radio-inline {
	margin-top: 0px;
	margin-left: 0 !important;
	width: 100% !important;
}

.radio-inline {
	padding-left: 0!important
}

.infos {
	border: 1px solid #9B853C;
	padding: 8px;
	padding-top: 18px;
	margin-bottom: 2em;
	line-height: 5px;
}
              
            
!

JS

              
                /*OPACITY DONS*/ 
jQuery(document).ready(function(){
 jQuery("[name='votreDon']").click(function(){
    
  var radio_value = jQuery(this).val();
    
	if(radio_value==='votreDonLeft'  ){
     jQuery('.donunique').css('opacity','1');
       jQuery('.don-unique').css('opacity','1');
       jQuery(".don-mensuel").css('opacity','0.5');
       jQuery('[name="donmensuel"]').attr('disabled',true);
       jQuery('[name="donmensuel"]').attr('checked',false);
       jQuery('[name="donunique"]').attr('disabled',false);
     }
       else if(radio_value==='votreDonRight' ) {
       
		 jQuery('.donmensuel').css('opacity','1');
      jQuery('.don-mensuel').css('opacity','1');
      jQuery(".don-unique").css('opacity','0.5');
      jQuery('[name="donunique"]').attr('disabled',true);
      jQuery('[name="donunique"]').attr('checked',false);
      jQuery('[name="donmensuel"]').attr('disabled',false);
     }
  });
  
});






 jQuery(document).ready(function(){
 var checked = {};
     jQuery('#recufiscal').each(function (index) {
        checked[index] = this.checked;
         jQuery(this).click(function () {
            if (checked[index])
                this.checked = false;
            for (var i in checked) {
                checked[i] = false;
            }
            checked[index] = this.checked;
        });
    });
    });
              
            
!
999px

Console