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. 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.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <section id="benefits">
  <div class="container pv6 ph4 ph5-ns">
    <div class="mb4 mb5-l titles">
      <h2 class="f3 f2-ns tc mt0 mb3 section-title">Le coaching à distance selon Jeanna</h2>
      <h3 class="f4 f3-ns tc my-pink center mt2">Le meilleur programme sportif pour les femmes d'aujourd'hui</h3>
    </div>
    <div class="benef-grid mv5">

      <div class="benef-1">
        <img class="grow" src="https://jeannadufraisse.com/images/benef-stars-pink.svg" alt="">
        <p class="f5 fw6 mt2 mv0">Efficacité</p>
        <p class="lh-copy">Que ce soit pour te remettre en forme après une longue période d’inactivité, préparer un événement sportif, perdre du poids ou tout simplement te sentir mieux, je te garantie l'atteinte de tes objectifs</p>
      </div>

      <div class="benef-2">
        <img class="grow" src="https://jeannadufraisse.com/images/benef-calendar-pink.svg" alt="">
        <p class="f5 fw6 mt2 mv0">Flexibilité</p>
        <p class="lh-copy">En salle de sport, de chez toi ou encore dans un parc, tu es libre d’organiser tes séances où et quand tu le souhaites, en fonction de ton emploi du temps. À toi de jouer pour caler tes 2 ou 3 entraînements chaque semaine.</p>
      </div>

      <div class="benef-img grow">
        <img src="https://jeannadufraisse.com/images/benef-img.jpg" alt="jeanna dufraisse coaching">
      </div>

      <div class="benef-3">
        <img class="grow" src="https://jeannadufraisse.com/images/benef-thumb-pink.svg" alt="">
        <p class="f5 fw6 mt2 mv0">Motivation</p>
        <p class="lh-copy">La motivation est la clé de réussite de l’entrainement. Quand je te coach, je ne te lâche pas : je suis avec toi au quotidien pour t’aider à rester motivée et te surpasser physiquement</p>
      </div>

      <div class="benef-4">
        <img class="grow" src="https://jeannadufraisse.com/images/benef-security-pink.svg" alt="">
        <p class="f5 fw6 mt2 mv0">Sécurité</p>
        <p class="lh-copy">La pratique du sport est bénéfique quand les conditions de sécurité sont réunies.. J'adapte ton programme en fonction de tes objectifs, mais aussi et surtout en fonction de ta santé, de ta condition physique et de ton niveau sportif.</p>
      </div>
    </div>
    <div class="tc">
      <a class="f7 fw6 ttu dib tracked link white my-pink-bg ph4 pv3 br-pill dim" href="#">Rejoins-moi</a>
    </div>
  </div>
</section>
            
          
!

CSS

            
              // SASS
// CSS Framework : Tachyons
// CSS Grid

///////////////////////////////////////

//
// VARIABLES 
//
$my-pink: #EB898B;
$my-blue: #293C48;
$my-grey: #F5F5F5;
$my-grey-border: #D2D2D2;
$my-white: #FFF;

$main-font: 'Montserrat', sans-serif;
$headings-font: 'PT Serif', serif;

$container-width: 1200px;

//
//  CONTAINER
//
.container {
  max-width: $container-width;
  margin: 0 auto;
}

//
// FONTS
//
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700|PT+Serif:400,700&display=swap');

body {
  font-family: $main-font;
  font-size: 14px;
}
h1,h2,h3,h4 {
  font-family: $headings-font;
}

//
//  COLORS
//
body {
  color: $my-blue;
}
.my-pink {
  color: $my-pink;
}
.my-blue {
  color: $my-blue;
}
.my-pink-bg {
  background-color: $my-pink;
}

//
// BENEFITS
//
.benef-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 300px 1fr 1fr 1fr 1fr;
  // grid-column-gap: 24px;
  grid-row-gap: 32px;
}
.benef-1 {
  text-align: center;
  grid-column-start: 1;
  grid-row-start: 2;
}
.benef-2 {
  text-align: center;
  grid-column-start: 1;
  grid-row-start: 3;
}
.benef-img {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  img {
    width: 250px;
    height: auto;
  }
}
.benef-3 {
  text-align: center;
  grid-column-start: 1;
  grid-row-start: 4;
}
.benef-4 {
  text-align: center;
  grid-column-start: 1;
  grid-row-start: 5;
}
@media (min-width: 600px) {
  .benef-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 1fr 1fr;
    grid-column-gap: 48px;
    grid-row-gap: 32px;
  }
  .benef-1 {
    grid-column-start: 1;
    grid-row-start: 2;
  }
  .benef-2 {
    grid-column-start: 2;
    grid-row-start: 2;
  }
  .benef-img {
    grid-column: 1 / span 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    img {
      width: 250px;
      height: auto;
    }
  }
  .benef-3 {
    grid-column-start: 1;
    grid-row-start: 3;
  }
  .benef-4 {
    grid-column-start: 2;
    grid-row-start: 3;
  }
}
@media (min-width: 960px) {
  .benef-grid {
    display: grid;
    grid-template-columns: 1fr 250px 1fr;
    grid-template-rows: 1fr 1fr;
    grid-column-gap: 24px;
    grid-row-gap: 32px;
  }
  .benef-1 {
    text-align: right;
    grid-column-start: 1;
    grid-row-start: 1;
  }
  .benef-2 {
    text-align: left;
    grid-column-start: 3;
    grid-row-start: 1;
  }
  .benef-img {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
  }
  .benef-3 {
    text-align: right;
    grid-column-start: 1;
    grid-row-start: 2;
  }
  .benef-4 {
    text-align: left;
    grid-column-start: 3;
    grid-row-start: 2;
  }
}

            
          
!

JS

            
              No JS here babe.
            
          
!
999px

Console