cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

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.

            
              <!-- Ensemble des blocs par ligne de 3 blocs -->
<div class="conteneur-flexbox">

	<!-- 1ère ligne de 3 blocs -->
  <div class="box"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/265602/typo1.jpg"></div>
  <div class="box"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/265602/typo2.jpg"></div>
  <div class="box"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/265602/typo3.jpg"></div>
	
</div>

	<!-- 2eme ligne de 3 blocs -->
<div class="conteneur-flexbox2">
	
  <div class="box"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/265602/typo4.jpg"></div>
  <div class="box"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/265602/typo5.jpg"></div>
  <div class="box"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/265602/typo6.jpg"></div>
	
</div>

	<!-- 3eme ligne de 3 blocs -->
<div class="conteneur-flexbox3">
	
  <div class="box"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/265602/typo7.jpg"></div>
  <div class="box"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/265602/typo8.jpg"></div>
  <div class="box"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/265602/typo9.jpg"></div>
	
</div>
	
            
          
!
            
              html, body {
  padding: 0;
  margin: 0;
}

body {
  background-color: white;
}


/*la 1ère ligne fait 606px (avec les marges)*/
.conteneur-flexbox {
  max-width: 606px;
  margin: 100px auto 0 auto;
  padding: 0px 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}

/*la 2eme ligne fait 606px (avec les marges)*/
.conteneur-flexbox2 {
  max-width: 606px;
  margin: 0px auto 0 auto;
  padding: 0 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}


/*la 3eme ligne fait 606px (avec les marges)*/
.conteneur-flexbox3 {
  max-width: 606px;
  margin: 0px auto 0 auto;
  padding: 0 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}

/*taille d'un bloc : une image de 200x200px*/
.box {
  width: 200px;
  height: 200px;
	border: 1px solid white;
}


/*quand on survol un bloc celui-ci grossit et se retourne*/
.box:hover {
	/*filter: blur(10px);*/
	transform: scale(1.1) rotate(-180deg);
	cursor: pointer;
}

            
          
!
999px
Loading ..................

Console