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="parent">
  <img class="ref-image" src="https://etapes.com/app/uploads/2015/09/jessica-fecteau-16-posters-in-one-10.png" alt="">
  <div class="poster-container">
    <div class="grid-container">
      <span class="top-left-logo">Ré<br>cur<br>sif</span>
      <h1 class="hero-text"><span class="hero1"><span class="hero1-1">Co</span>n</span><br><span class="hero2">st</span><br> <span class="hero3">ru</span><br>
        <span class="hero4">ire</span>
      </h1>
      <img src="https://res.cloudinary.com/jasontcrabtree/image/upload/v1595088810/Design-Studies/poster-zoe.png" alt="Women looks directly at camera, black and white" class="image">
      <ol class="list">
        <li>Définir ce que je cherce. <span>Représenter visuallement <br>ma démarche créative</span></li>
        <li>Apperendre à connaaître le sujet. <span>Analyser ma façon de travailler.</span></li>
        <li>Réfléchir. <br>
          <span class="reflechir">Réfléchir. Réfléchir. Réfléchir. Réfléchir. <br>
            Réfléchir. Réfléchir. Réfléchir. Réfléchir.
            <br>
            Réfléchir. Réfléchir. Réfléchir. Réfléchir.
            <br>
            Réfléchir. Réfléchir. Réfléchir. Réfléchir.
            <br>
            Réfléchir. Réfléchir. Réfléchir. Réfléchir.
            <br>
            Réfléchir. Réfléchir. Réfléchir. Réfléchir.
            <br>
            Réfléchir. Réfléchir. Réfléchir. Réfléchir.
            <br>
            Réfléchir. Réfléchir. Réfléchir. Réfléchir.
            <br>
            Réfléchir. Réfléchir. Réfléchir. Réfléchir.
            <br>
            Réfléchir. Réfléchir. Réfléchir. Réfléchir.
            <br>
            Réfléchir. Réfléchir. Réfléchir. Réfléchir.
            <br>
            Réfléchir. Réfléchir. Réfléchir. Réfléchir.
            <br>
            Réfléchir. Réfléchir. Réfléchir. Réfléchir.
            <br>
            Réfléchir. Réfléchir. Réfléchir. Réfléchir.
            <br>
            Réfléchir. Réfléchir. Réfléchir. Réfléchir.
            <br>
          </span></li>
        <li>Faire des essais.
          <br>
          <span>Mettre en page differérents <br> éléments de ma démarche. de maniéres différentes.
          </span>
        </li>
        <li> élaguer. <br>
          <span>Faire des choix pour ne conserver que l'essentiel.</span></li>
      </ol>
    </div>
  </div>
</div>
              
            
!

CSS

              
                html {
  font-family: ff-real-text-pro, sans-serif;
  /* font-family: ff-real-text-pro-2, sans-serif; */
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
body {
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  /*   list-style: none; */
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html {
  background: black;
}

.parent {
  display: flex;
  padding: 1rem;
}

.ref-image {
  /*   height: 600px; */
  /*   height: calc(100vh - 4rem); */
  width: calc(100vh * 0.66);
  display: inline-block;
}

.poster-container {
  display: flex;
  background: #f2f2f2;
  width: calc(100vh * 0.66);
  margin: 1rem auto;
  height: calc(100vh - 4rem);
}

.grid-container {
  height: calc(100% - 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(8, 12.5%);
  margin: 2rem;
}

.top-left-logo {
  grid-column: 1 / 2;
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 12px;
  color: #002ff5;
}

.reflechir {
  line-height: 1.5;
  line-height: 10px;
  opacity: 0.8;
}

.image {
  margin-top: 3rem;
  padding: 1.5rem 1.5rem 0px 0px;
  grid-row-start: 3;
  grid-row-end: -1;
  z-index: 0;
  grid-column: 1 / 3;
  object-fit: cover;
  opacity: 0.9;
  filter: brightness(1.2);
}

.hero-text {
  color: #fffd54;
  font-size: 88px;
  text-transform: uppercase;
  grid-row: 2 / 9;
  grid-column: 2 / -1;
  z-index: 1;
}

.hero1,
.hero2,
.hero3,
.hero4 {
}

.hero1 {
  letter-spacing: 40px;
}
.hero1-1 {
  letter-spacing: 30px;
  margin-left: -100px;
  margin-right: 150px;
}

.hero2 {
  margin-left: 20px;
  letter-spacing: 185px;
}

.hero3 {
  letter-spacing: 60px;
  margin-left: -100px;
}

.hero4 {
  letter-spacing: 30px;
  margin-left: 40px;
}

.hero-text {
  line-height: 164%;
}

.list {
  color: #363636;
  z-index: 2;
  grid-column: 2 / -1;
  grid-row: 2;
  margin-top: 1rem !important;
  margin-left: 3rem !important;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.6px;
}

li {
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0.7;
}

li > span {
  text-transform: initial;
}

@media screen and (max-width: 900px) {
  
  .top-left-logo {
    font-size: 16px;
  }
  
  .hero-text {
    font-size: 64px;
  }
  
  .parent {
    flex-direction: column;
  }

  .grid-container {
    margin: 2rem 2rem 1rem 2rem;
  }

  .poster-container {
    width: 80vw;
    height: calc(80vw * 1.5);
  }

  .hero1 {
    letter-spacing: 30px;
  }

  .hero1-1 {
    letter-spacing: 30px;
margin-left: -80px;
    margin-right: 40px;
  }

  .hero2 {
    margin-left: -0px;
    letter-spacing: 70px;
  }

  .hero3 {
    letter-spacing: 20px;
    margin-left: -80px;
  }

  .hero4 {
    letter-spacing: 20px;
    margin-left: 20px;
  }

  .hero-text {
    line-height: 144%;
  }
  
  .image {
    padding: 0px;
    margin: 0px;
    margin-top: 1rem;
    grid-row-start: 4;
  }
}

              
            
!

JS

              
                // Credit to https://etapes.com/jessica-fecteau-16-posters-in-one/

// Image credit https://etapes.com/app/uploads/2015/09/jessica-fecteau-16-posters-in-one-10.png
              
            
!
999px

Console