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

              
                <section id="s1">

  <svg id="svg1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 533 300">
    <defs>
      <mask id="MASK2" maskunits="userSpaceOnUse" maskcontentunits="userSpaceOnUse">
        <image xlink:href="https://assets.codepen.io/108463/ezgif.com-gif-maker+%282%29.gif" height="100%" width="100%" />
      </mask>
    </defs>
    <g mask="url(#MASK2)">
      <image x="0" y="0%" class="space" href="https://media.giphy.com/media/l0Ex8kR5qrnOaZx3a/giphy.gif" height="100%" width="100%" />
    </g>
  </svg>

  <h1>Lorem Ipsum</h1>
  <div id="s1d"><span class="p1-spanl left"></span>
    <span class="p1-spanr right"></span>
    <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempore impedit adipisci quam ea nulla, minus odit error a blanditiis, omnis sapiente? Ratione error incidunt architecto dolore autem ad necessitatibus debitis? Lorem ipsum dolor sit amet consectetur
      adipisicing elit. Doloremque, rem itaque aut, tempora cupiditate dolor minima ipsum a, ducimus dicta reprehenderit. Est harum deleniti ducimus porro facere itaque qui hic. Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit eos maiores
      necessitatibus, fugiat blanditiis hic. Earum, voluptas! Nihil assumenda soluta quaerat et quod quis inventore, dicta dolores ad aut. Aliquid. Lorem, ipsum dolor sit amet consectetur adipisicing elit. Exercitationem dicta blanditiis saepe sit, deleniti
      animi error aliquam esse iste aut veritatis, nobis ullam doloremque, magni odio? Odit dolor provident itaque?Lorem ipsum dolor sit amet consectetur adipisicing elit. Praesentium obcaecati, quod maiores dolore neque consequuntur eveniet expedita
      nobis eius, ipsa culpa beatae repellendus animi veritatis fugiat soluta commodi incidunt?</p>
  </div>

</section>
<section id="s3">
  <!--  <svg id="svg3" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
    <defs>
      <mask id="MASK5" maskunits="userSpaceOnUse" maskcontentunits="userSpaceOnUse">
        <image xlink:href="https://media.giphy.com/media/fUe2pNFeBYp8ksU5io/giphy.gif" height="100%" width="100%" />
      </mask>
    </defs>
    <g mask="url(#MASK5)">
      <image x="0" y="0%" class="space" href="https://media.giphy.com/media/l0Ex8kR5qrnOaZx3a/giphy.gif" height="100%" width="100%" />
    </g>
  </svg> -->

  <div id="s3p1">
    <span class="left"></span>
    <span class="right"></span>
    <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempore impedit adipisci quam ea nulla, minus odit error a blanditiis, omnis sapiente? Ratione error incidunt architecto dolore autem ad necessitatibus debitis? Lorem ipsum dolor sit amet consectetur
      adipisicing elit. Doloremque, rem itaque aut, tempora cupiditate dolor minima ipsum a, ducimus dicta reprehenderit. Est harum deleniti ducimus porro facere itaque qui hic. Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit eos maiores
      necessitatibus, fugiat blanditiis hic.</p>
  </div>
  <div id="s3p2">
    <span class="left"></span>
    <span class="right"></span>
    <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempore impedit adipisci quam ea nulla, minus odit error a blanditiis, omnis sapiente? Ratione error incidunt architecto dolore autem ad necessitatibus debitis? Lorem ipsum dolor sit amet consectetur
      adipisicing elit. Doloremque, rem itaque aut, tempora cupiditate dolor minima ipsum a, ducimus dicta reprehenderit. Est harum deleniti ducimus porro facere itaque qui hic. Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit eos maiores
      necessitatibus, fugiat blanditiis hic.</p>
  </div>
  <div id="s3p3">
    <span class="left"></span>
    <span class="right"></span>
    <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempore impedit adipisci quam ea nulla, minus odit error a blanditiis, omnis sapiente? Ratione error incidunt architecto dolore autem ad necessitatibus debitis? Lorem ipsum dolor sit amet consectetur
      adipisicing elit. Doloremque, rem itaque aut, tempora cupiditate dolor minima ipsum a, ducimus dicta reprehenderit. Est harum deleniti ducimus porro facere itaque qui hic. Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit eos maiores
      necessitatibus, fugiat blanditiis hic.</p>
  </div>

</section>

<section id="s2">
  <div id="s2d">
    <span class="left s2d1p"></span>
    <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempore impedit adipisci quam ea nulla, minus odit error a blanditiis, omnis sapiente? Ratione error incidunt architecto dolore autem ad necessitatibus debitis? Lorem ipsum dolor sit amet consectetur
      adipisicing elit. Doloremque, rem itaque aut, tempora cupiditate dolor minima ipsum a, ducimus dicta reprehenderit. Est harum deleniti ducimus porro facere itaque qui hic. Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit eos maiores
      necessitatibus, fugiat blanditiis hic. Earum, voluptas! Nihil assumenda soluta quaerat et quod quis inventore, dicta dolores ad aut. Aliquid. Lorem, ipsum dolor sit amet consectetur adipisicing elit.Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempore impedit adipisci quam ea nulla, minus odit error? Aliquid. Lorem, ipsum dolor sit amet consectetur?</p>
  </div>

  <svg id="svg2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
    <defs>
      <mask id="MASK3" maskunits="userSpaceOnUse" maskcontentunits="userSpaceOnUse">
        <image xlink:href="https://assets.codepen.io/108463/ezgif.com-gif-maker+%281%29.gif" height="100%" width="100%" />
      </mask>
    </defs>
    <g mask="url(#MASK3)">
      <image x="0" y="0%" class="space" href="https://media.giphy.com/media/l0Ex8kR5qrnOaZx3a/giphy.gif" height="100%" width="100%" />
    </g>
  </svg>

  <div class="canvasWrapper">
  </div>
  <div id="s2d2">

    <span class="right s2d2p"></span>
    <p> Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempore impedit adipisci quam ea nulla, minus odit error a blanditiis, omnis sapiente? Ratione error incidunt architecto dolore autem ad necessitatibus debitis? Lorem ipsum dolor sit amet consectetur
      adipisicing elit. Doloremque, rem itaque aut, tempora cupiditate dolor minima ipsum a, ducimus dicta reprehenderit. Est harum deleniti ducimus porro facere itaque qui hic. Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit eos maiores
      necessitatibus, fugiat blanditiis hic. Earum, voluptas! Nihil assumenda soluta quaerat et quod quis inventore, dicta dolores ad aut. Aliquid. Lorem, ipsum dolor sit amet consectetur adipisicing elit.Lorem ipsum dolor sit? Aliquid. Lorem, ipsum dolor sit amet!</p>
  </div>
</section>

<section id="s4">

  <svg id="svg6" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 550 300">
    <defs>
      <mask id="MASK6" maskunits="userSpaceOnUse" maskcontentunits="userSpaceOnUse">
        <image xlink:href="https://assets.codepen.io/108463/ezgif.com-gif-maker+%285%29.gif" height="100%" width="100%" />
      </mask>
    </defs>
    <g mask="url(#MASK6)">
      <image x="0" y="0%" class="space" href="https://media.giphy.com/media/l0Ex8kR5qrnOaZx3a/giphy.gif" height="100%" width="100%" />
    </g>
  </svg>

  <div class="canvasWrapper">
  </div>
  <h1>Lorem ipsum</h1>
</section>
              
            
!

CSS

              
                :root {
  --red: #b83029;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}

html {
  height: 100%;
}

body {
  margin: 0;
  background: var(--red);
  font-family: "Kaushan Script", cursive;
  font-size: 1.6633vw;
  color: #fccf95;
}

p {
  padding: 0;
  margin: 0;
  text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.left {
  float: left;
}

.right {
  float: right;
}
#s1 {
  text-align: center;
}
#svg1 {
  -webkit-clip-path: polygon(0% 0%, 100% 50%, 40% 100%);
  clip-path: polygon(0% 0%, 100% 50%, 40% 100%);
  margin: 0 auto;
  width: 100vw;
}
.p1-spanl,
.p1-spanr {
  height: 100%;
}

#s1 h1 {
  color: #fccf95;
  position: absolute;
  -webkit-transform: rotate(-23deg);
  -ms-transform: rotate(-23deg);
  transform: rotate(-23deg);
  font-size: 10vw;
  top: -1vw;
  left: 2vw;
  text-shadow: 5px 5px var(--red);
}

#s1d {
  height: 50vw;
  width: 100vw;
  margin: 0;
  margin-top: -2vw;
}

.p1-spanl {
  width: 40%;
  shape-outside: polygon(0px 0px, 100.66% -2px, 32.47% 95.63%);
}
.p1-spanl:before {
  content: "";
  height: 0.3vw;
  width: 115%;
  position: absolute;
  background-color: #fccf95;
  -webkit-transform: rotate(-60deg);
  -ms-transform: rotate(-60deg);
  transform: rotate(-60deg);
  left: -2vw;
  top: 25vw;
}

.p1-spanl:after {
  content: "";
  height: 0.3vw;
  width: 200%;
  position: absolute;
  background-color: #fccf95;
  left: 0vw;
  bottom: 4.8vw;
}

.p1-spanr {
  width: 60%;
  shape-outside: polygon(7px -1px, 76.69% 6px, 98.63% 67.74%);
}
.p1-spanr:before {
  content: "";
  height: 0.3vw;
  width: 85%;
  position: absolute;
  background-color: #fccf95;
  right: 0vw;
  top: 1.5vw;
}

#s2 {
  text-align: center;
}
#svg2 {
  width: 75vw;
  margin: -25vw auto -10vw;
}

#s2d {
  width: 85vw;
  float: right;
  border-top: 0.3vw solid;
  padding-top: 5vw;
}
#s2d2 {
  width: 85vw;
  border-bottom: 0.3vw solid;
  padding-bottom: 5vw;
  margin-bottom: 5vw;
}
.s2d1p,
.s2d2p {
  width: 50%;
  height: 35vw;
}
.s2d1p {
  shape-outside: polygon(0% 0px, 100% 100%);
}
.s2d2p {
  width: 50%;
  shape-outside: polygon(0% 0px, 115% 60%);
}

#s3 {
  clear: both;
  padding: 10vw 0 15vw;
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  -webkit-column-gap: 5vw;
  -moz-column-gap: 5vw;
  column-gap: 5vw;
  margin-right: 4vw;
}

#s3 div {
  /*   margin-left: -3vw; */
}

#s3 span.left {
  width: 31%;
  height: 49vw;
  shape-outside: polygon(
    37.06% -5px,
    109.65% -0.67%,
    87.23% 7.97%,
    67.38% 15.17%,
    50.26% 22.86%,
    45.75% 28.76%,
    40.8% 35.23%,
    44.85% 43.26%,
    51.34% 50.6%,
    57.96% 57.64%,
    68.88% 63.45%,
    79.45% 68.39%,
    93.58% 73.7%,
    101.33% 79.03%,
    101.26% 84.94%,
    88.11% 90.79%,
    69.42% 95.96%,
    49.85% 100.82%
  );
}

#s3 span.right {
  width: 31%;
  height: 49vw;
  shape-outside: polygon(
    115.19% -0.27%,
    94.75% 3.98%,
    73.36% 11.59%,
    52.58% 17.9%,
    38.24% 25.39%,
    29.11% 31.87%,
    27.89% 39.54%,
    34.68% 45.56%,
    47.64% 50.98%,
    62.05% 58.19%,
    82.4% 66.14%,
    94.57% 72.73%,
    101.62% 78.17%,
    95.15% 85.44%,
    80.68% 92.94%,
    60.67% 99.35%,
    100.01% 99.27%
  );
}

#s4 {
  margin: 7vw 0vw 4vw;
  position: relative;
}
#s4 svg {
  -webkit-clip-path: polygon(
    55.86% 0px,
    75.68% 1px,
    62.38% 26.41%,
    78.2% 26.85%,
    30.82% 95.41%,
    45.9% 43.04%,
    33.44% 42.89%
  );
  clip-path: polygon(
    55.86% 0px,
    75.68% 1px,
    62.38% 26.41%,
    78.2% 26.85%,
    30.82% 95.41%,
    45.9% 43.04%,
    33.44% 42.89%
  );
}

#s4 h1 {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 30vw;
  z-index: 10;
  font-size: 12vw;
  text-align: center;
  color: #fccf95;
  text-shadow: 5px 5px var(--red);
}

              
            
!

JS

              
                
              
            
!
999px

Console