Pen Settings

HTML

CSS

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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

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.

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 id="container3">
  <h1 style="margin-top: 100px; font-size: 44px; color: #484745;">Hvad Gør ShaveMail Smartere?</h1>
  <p style="margin-top: 40px; color: #484745; font-size: 20px;">Fx. at du modtager kvalitets barberblade hver måned, direkte i postkassen, til under 1 tredjedel af hvad du normalt betaler.</p>
  <h1 style="color: #484745; font-size: 24px; float: left; margin-left: 250px; margin-top: 40px; font-weight: 900;">KLIK PÅ IKONERNE</h1>
  
  <div style=" margin-left: 10px; margin-top: 45px; background-image: url('http://shavesociety.dk/wp-content/uploads/2014/09/arrow-tip3-7d398dd5eb15162ace4a41e8c9ca169d.png'); width: 37px; height: 28px; float: left; "></div>
  
  
  
<div id="flips">
  
<div class="cardWrapper">
  <div class="card">
    
    <div class="cardFace frontcal"><h2 style="margin-top: 180px; color: #484745; font-weight: bold; font-size: 18px;">HVER MÅNED, HELT AUTOMATISK</h2></div>
    <div class="cardFace backcal"><div class="backfliptext"><p style="margin: 80px 5px 0px 5px; color: #000000; font-size: 17px;  line-height: 20px;">Vi Sender 4 Nye Barberblade <b>HVER MÅNED</b></p> <p style="font-size: 12px; margin-top: 10px;">Vi husker, at købe dine barberblade for dig, så læn dig tilbage og nyd, at du altid har friske barberblade ved hånden.</p></div></div>
  </div>
</div>
  
  <div class="cardWrapper2">
  <div class="card2">
    <div class="cardFace frontcal2"><h2 style="margin-top: 180px; color: #484745; font-weight: bold; font-size: 18px;">GRATIS LEVERING</h2></div>
    <div class="cardFace backcal2"><div class="backfliptext"><p style="margin: 80px 5px 0px 5px; color: #000000; font-size: 17px; line-height: 20px; ">Vi Leverer <b>GRATIS</b> Hver Måned Uanset Hvor I Danmark Du Bor</p> <p style="font-size: 12px; margin-top: 10px;">Leveringen sker via Post-Danmark og vi sikrer, at du altid får dine blade til tiden.</p></div></div>
  </div>
</div>
  
  
  <div class="cardWrapper3">
  <div class="card3">
    <div class="cardFace frontcal3"><h2 style="margin-top: 180px; color: #484745; font-weight: bold; font-size: 18px;">SENDT TIL DIN POSTKASSE</h2></div>
    <div class="cardFace backcal3"><div class="backfliptext"><p style="margin: 80px 5px 0px 5px; color: #000000; font-size: 17px;  line-height: 20px;">Vi sender barberbladene direkte i din <b>POSTKASSE</b>, hver måned. </p> <p style="font-size: 12px; margin-top: 10px;">Bekymrer dig ikke om, at skulle på posthuset og hente en pakke. Nej, dine barberblade er blot få skridt væk, helt automatiosk, hver måned.</p></div></div>
  </div>
</div>
  
  
  <div class="cardWrapper4">
  <div class="card4">
    <div class="cardFace frontcal4"><h2 style="margin-top: 180px; color: #484745; font-weight: bold; font-size: 18px;">HØJ KVALITET</h2></div>
    <div class="cardFace backcal4"><div class="backfliptext"><p style="margin: 80px 5px 0px 5px; color: #000000; font-size: 17px;  line-height: 20px;">5 Super Skarpe Blade I Rustfrit Stål, Slidstærkt Håndtag</p> <p style="font-size: 12px; margin-top: 10px;">
Siden 1800-tallet har vores partnere udviklet top kvalitets premium barberblade til de bedste barberer i Europa</p></div></div>
  </div>
</div>
  
  <div class="cardWrapper5">
  <div class="card5">
    <div class="cardFace frontcal5"><h2 style="margin-top: 180px; color: #484745; font-weight: bold; font-size: 18px;">TILFREDSHEDS GARANTI</h2></div>
    <div class="cardFace backcal5"><div class="backfliptext"><p style="margin: 80px 5px 0px 5px; color: #000000; font-size: 17px;  line-height: 20px;">Prøv Vores Barberblad Helt <b>Uden Risiko</b></p> <p style="font-size: 12px; margin-top: 10px;">Hvis du ikke er tilfreds, skal du blot sende de resterende blade tilbage, så refunderer vi DET FULDE BELØB uden at stille spørgsmål</p></div></div>
  </div>
</div>
  
  
  <div class="cardWrapper6">
  <div class="card6">
    <div class="cardFace frontcal6"><h2 style="margin-top: 180px; color: #484745; font-weight: bold; font-size: 18px;">PERSONLIG SERVICE</h2></div>
    <div class="cardFace backcal6"><div class="backfliptext"><p style="margin: 80px 5px 0px 5px; color: #000000; font-size: 17px;  line-height: 20px;">Vi sidder klar ved telefonen mellem 10 og 17</p> <p style="font-size: 12px; margin-top: 10px;">Vi sidder aldtid klar til at hjælpe dig og besvare alle de spørgsmål du måtte have, selv hvis du ikke er kunde hos ShaveMail endnu, så tøv ikke med at give os et opkald!</p></div></div>
  </div>
</div>


</div>
</div>

              
            
!

CSS

              
                #container3{
    
    width: 1024px;
    height: 700px;
    text-align: center;
  }
  
  #flips{
    text-align: center;
    margin-top: 100px;
    width: 1023px;
    height: 500px;
    
  }

.cardWrapper{
 
 width: 341px;
 height: 245px;
position: relative;
float: left;
cursor: pointer;
-webkit-font-smoothing:antialiased;
 
}

.cardFace{
  position:absolute;
  width:341px;
  height:245px;
  overflow:hidden;
}

.frontcal{
    background-color: #f2f0eb;
    
    border-width: 1px;
    border-color: #dad8d3;
    border-bottom-style: solid;
    border-right-style: solid;
    width: 339px;
    height: 243px;
    background-image: url('http://shavesociety.dk/wp-content/uploads/2014/09/calender.png');
    background-repeat: no-repeat;
    background-position:center center;
}

.backcal{
  background-color: #dfdfdf;
    border-bottom-style: solid;
    border-right-style: solid;
    border-width: 1px;
    border-color: #dad8d3;
    width: 339px;
    height: 243px;
    background-image: url('http://shavesociety.dk/wp-content/uploads/2014/09/calender.png');
    background-size: 50px 50px;
    background-repeat: no-repeat;
    background-position: center 15px;
}
  
  .cardWrapper2{
 width: 341px;
 height: 245px;
position: relative;
float: left;
cursor: pointer;
-webkit-font-smoothing:antialiased;
 
}

.cardFace2{
  position:absolute;
  width:341px;
  height:245px;
  overflow:hidden;
}

.frontcal2{
    background-color: #f2f0eb;
    border-width: 1px;
    border-color: #dad8d3;
    border-bottom-style: solid;
    border-right-style: solid;
    width: 339px;
    height: 243px;
    background-image: url('http://shavesociety.dk/wp-content/uploads/2014/09/truck.png');
    background-repeat: no-repeat;
    background-position:center center;
}

.backcal2{
  background-color: #dfdfdf;
    border-bottom-style: solid;
    border-right-style: solid;
    border-width: 1px;
    border-color: #dad8d3;
    width: 339px;
    height: 243px;
    background-image: url('http://shavesociety.dk/wp-content/uploads/2014/09/truck.png');
    background-size: 50px 50px;
    background-repeat: no-repeat;
    background-position: center 15px;
}

  
    .cardWrapper3{
 width: 341px;
 height: 245px;
position: relative;
float: left;
cursor: pointer;
-webkit-font-smoothing:antialiased;
 
}

.cardFace3{
  position:absolute;
  width:341px;
  height:245px;
  overflow:hidden;
}

.frontcal3{
    background-color: #f2f0eb;
    border-width: 1px;
    border-color: #dad8d3;
    border-bottom-style: solid;
    border-right-style: solid;
    width: 339px;
    height: 243px;
    background-image: url('http://shavesociety.dk/wp-content/uploads/2014/09/letter.png');
    background-repeat: no-repeat;
    background-position:center center;
}

.backcal3{
  background-color: #dfdfdf;
    border-bottom-style: solid;
    border-right-style: solid;
    border-width: 1px;
    border-color: #dad8d3;
    width: 339px;
    height: 243px;
    background-image: url('http://shavesociety.dk/wp-content/uploads/2014/09/letter.png');
    background-size: 50px 50px;
    background-repeat: no-repeat;
    background-position: center 15px;
}
  
  .cardWrapper4{
 width: 341px;
 height: 245px;
position: relative;
float: left;
cursor: pointer;
-webkit-font-smoothing:antialiased;
 
}

.cardFace4{
  position:absolute;
  width:341px;
  height:245px;
  overflow:hidden;
}

.frontcal4{
    background-color: #f2f0eb;
    border-width: 1px;
    border-color: #dad8d3;
    border-bottom-style: solid;
    border-right-style: solid;
    width: 339px;
    height: 243px;
    background-image: url('http://shavesociety.dk/wp-content/uploads/2014/09/stjerne.png');
    background-repeat: no-repeat;
    background-position:center center;
}

.backcal4{
  background-color: #dfdfdf;
    border-bottom-style: solid;
    border-right-style: solid;
    border-width: 1px;
    border-color: #dad8d3;
    width: 339px;
    height: 243px;
    background-image: url('http://shavesociety.dk/wp-content/uploads/2014/09/stjerne.png');
    background-size: 50px 50px;
    background-repeat: no-repeat;
    background-position: center 15px;
}
  
  .cardWrapper5{
 width: 341px;
 height: 245px;
position: relative;
float: left;
cursor: pointer;
-webkit-font-smoothing:antialiased;
 
}

.cardFace5{
  position:absolute;
  width:341px;
  height:245px;
  overflow:hidden;
}

.frontcal5{
    background-color: #f2f0eb;
    border-width: 1px;
    border-color: #dad8d3;
    border-bottom-style: solid;
    border-right-style: solid;
    width: 339px;
    height: 243px;
    background-image: url('http://shavesociety.dk/wp-content/uploads/2014/09/tumbs.png');
    background-repeat: no-repeat;
    background-position:center center;
}

.backcal5{
  background-color: #dfdfdf;
    border-bottom-style: solid;
    border-right-style: solid;
    border-width: 1px;
    border-color: #dad8d3;
    width: 339px;
    height: 243px;
    background-image: url('http://shavesociety.dk/wp-content/uploads/2014/09/tumbs.png');
    background-size: 50px 50px;
    background-repeat: no-repeat;
    background-position: center 15px;
}

  .cardWrapper6{
 width: 341px;
 height: 245px;
position: relative;
float: left;
cursor: pointer;
-webkit-font-smoothing:antialiased;
 
}

.cardFace6{
  position:absolute;
  width:341px;
  height:245px;
  overflow:hidden;
}

.frontcal6{
    background-color: #f2f0eb;
    border-width: 1px;
    border-color: #dad8d3;
    border-bottom-style: solid;
    border-right-style: solid;;
    width: 339px;
    height: 243px;
    background-image: url('http://shavesociety.dk/wp-content/uploads/2014/09/bubble.png');
    background-repeat: no-repeat;
    background-position:center center;
}

.backcal6{
  background-color: #dfdfdf;
    border-bottom-style: solid;
    border-right-style: solid;
    border-width: 1px;
    border-color: #dad8d3;
    width: 339px;
    height: 243px;
    background-image: url('http://shavesociety.dk/wp-content/uploads/2014/09/bubble.png');
    background-size: 50px 50px;
    background-repeat: no-repeat;
    background-position: center 15px;
}
  
  .backfliptext{
    width: 240px;
    height: 220px;
    margin: 0px auto;
    
  }
              
            
!

JS

              
                TweenLite.set(".cardWrapper", {perspective:800});
TweenLite.set(".card", {transformStyle:"preserve-3d"});
TweenLite.set(".backcal", {rotationY:-180});
TweenLite.set([".backcal", ".frontcal"], {backfaceVisibility:"hidden"});

spun = false;
$(".cardWrapper").click(
  function() {
    TweenLite.to($(this).find(".card"), 1.2, { rotationY:(spun ? 0 : 180) });
    spun = !spun;
  });
  
TweenLite.set(".cardWrapper2", {perspective:800});
TweenLite.set(".card2", {transformStyle:"preserve-3d"});
TweenLite.set(".backcal2", {rotationY:-180});
TweenLite.set([".backcal2", ".frontcal2"], {backfaceVisibility:"hidden"});
  
  spun = false;
$(".cardWrapper2").click(
  function() {
    TweenLite.to($(this).find(".card2"), 1.2, { rotationY:(spun ? 0 : 180) });
    spun = !spun;
  });
  
  TweenLite.set(".cardWrapper3", {perspective:800});
TweenLite.set(".card3", {transformStyle:"preserve-3d"});
TweenLite.set(".backcal3", {rotationY:-180});
TweenLite.set([".backcal3", ".frontcal3"], {backfaceVisibility:"hidden"});
  
 spun = false;
$(".cardWrapper3").click(
  function() {
    TweenLite.to($(this).find(".card3"), 1.2, { rotationY:(spun ? 0 : 180) });
    spun = !spun;
  });
  
   TweenLite.set(".cardWrapper4", {perspective:800});
TweenLite.set(".card4", {transformStyle:"preserve-3d"});
TweenLite.set(".backcal4", {rotationY:-180});
TweenLite.set([".backcal4", ".frontcal4"], {backfaceVisibility:"hidden"});
  
 spun = false;
$(".cardWrapper4").click(
  function() {
    TweenLite.to($(this).find(".card4"), 1.2, { rotationY:(spun ? 0 : 180) });
    spun = !spun;
  });
  
     TweenLite.set(".cardWrapper5", {perspective:800});
TweenLite.set(".card5", {transformStyle:"preserve-3d"});
TweenLite.set(".backcal5", {rotationY:-180});
TweenLite.set([".backcal5", ".frontcal5"], {backfaceVisibility:"hidden"});
  
spun = false;
$(".cardWrapper5").click(
  function() {
    TweenLite.to($(this).find(".card5"), 1.2, { rotationY:(spun ? 0 : 180) });
    spun = !spun;
  });
  
  
  TweenLite.set(".cardWrapper6", {perspective:800});
TweenLite.set(".card6", {transformStyle:"preserve-3d"});
TweenLite.set(".backcal6", {rotationY:-180});
TweenLite.set([".backcal6", ".frontcal6"], {backfaceVisibility:"hidden"});
  
  spun = false;
$(".cardWrapper6").click(
  function() {
    TweenLite.to($(this).find(".card6"), 1.2, { rotationY:(spun ? 0 : 180) });
    spun = !spun;
  });

              
            
!
999px

Console