123

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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

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.

            
              <section id="s1">
  <h1>Lorem Ipsum</h1>
</section>
<section id="s2">
  <div id="one"></div>
  <p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cumque veniam hic nemo aliquid, quo iste? Est animi suscipit, beatae numquam repellendus a laboriosam, recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit
    amet consectetur adipisicing elit. Cumque veniam hic nemo aliquid, quo iste? Est animi suscipit, beatae numquam repellendus a laboriosam, recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit amet consectetur adipisicing
    elit. Cumque veniam hic nemo aliquid, quo iste? Est animi suscipit, beatae numquam repellendus a laboriosam, recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cumque veniam
    hic nemo aliquid, quo iste? Est animi suscipit, beatae numquam repellendus a laboriosam, recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cumque veniam hic nemo aliquid,
    quo iste? Est animi suscipit, beatae numquam repellendus a laboriosam, recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cumque veniam hic nemo aliquid, quo iste? Est animi
    suscipit, beatae numquam repellendus a laboriosam, recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cumque veniam hic nemo aliquid, quo iste? Est animi suscipit, beatae numquam
    repellendus a laboriosam, recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cumque veniam hic nemo aliquid, quo iste? Est animi suscipit, beatae numquam repellendus a laboriosam,
    recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit amet consectetur adipisicing elit.</p>
  <div id="two"></div>
  <p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cumque veniam hic nemo aliquid, quo iste? Est animi suscipit, beatae numquam repellendus a laboriosam, recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit
    amet consectetur adipisicing elit. Cumque veniam hic nemo aliquid, quo iste? Est animi suscipit, beatae numquam repellendus a laboriosam, recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit amet consectetur adipisicing
    elit. Cumque veniam hic nemo aliquid, quo iste? Est animi suscipit, beatae numquam repellendus a laboriosam, recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cumque veniam
    hic nemo aliquid, quo iste? Est animi suscipit, beatae numquam repellendus a laboriosam, recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cumque veniam hic nemo aliquid,
    quo iste? Est animi suscipit, beatae numquam repellendus a laboriosam, recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cumque veniam hic nemo aliquid, quo iste? Est animi
    suscipit, beatae numquam repellendus a laboriosam, recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cumque veniam hic nemo aliquid, quo iste? Est animi suscipit, beatae numquam
    repellendus a laboriosam, recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cumque veniam hic nemo aliquid, quo iste? Est animi suscipit, beatae numquam repellendus a laboriosam,
    recusandae, optio dignissimos ducimus excepturi necessitatibus sed! Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cumque veniam hic nemo aliquid, quo iste? Est animi suscipit, beatae numquam repellendus a laboriosam, recusandae, optio
    dignissimos ducimus excepturi necessitatibus sed!</p>
</section>
<section id="lgphoto">
  <div></div>
</section>
<section id="s2half">
  <div id="lefty"></div>
  <div id="righty"></div>
  <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Iste distinctio amet aliquid veniam provident. Voluptatem soluta, consequuntur dignissimos harum doloribus incidunt ipsam doloremque quisquam, eos, alias aut unde nam impedit? Lorem ipsum, dolor
    sit amet consectetur adipisicing elit. Sequi aliquam deleniti adipisci debitis quas. Voluptatibus ullam vitae placeat sit nemo non sunt odio facere, quaerat itaque officia tempora accusamus at? Lorem ipsum dolor sit, amet consectetur adipisicing elit.
    Magnam dolore aperiam accusamus praesentium! Labore architecto perspiciatis voluptatem tempora dolorum, cupiditate quam quaerat! Odio iure amet, harum inventore repellendus optio! Deserunt. Lorem ipsum dolor sit amet consectetur, adipisicing elit.
    Quaerat cupiditate odit porro distinctio culpa! Magnam deleniti alias fugiat possimus porro beatae officiis quidem, rem, saepe, numquam delectus natus neque blanditiis! Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores esse facilis
    ducimus animi quisquam blanditiis autem exercitationem sapiente laborum ab quaerat neque veritatis distinctio eos, ad maxime aliquam nihil eius! Lorem ipsum dolor sit amet consectetur adipisicing elit. Illo cum nesciunt amet, maiores quis vero maxime
    repellendus eos esse consequatur laborum autem reprehenderit praesentium natus neque distinctio omnis accusantium consectetur! Lorem ipsum dolor sit amet.</p>
</section>
<section id="s3">
  <div id="d1"><img src="https://images.unsplash.com/photo-1497412159286-98933a0e327f?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=0ffbd819d8e31babac922824881443d4&auto=format&fit=crop&w=1619&q=80" alt=""></div>
  <div id="d2"><img src="https://images.unsplash.com/photo-1503198515498-d0bd9ed16902?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=b17df9dfa66151b46c4274468fdd6ca7&auto=format&fit=crop&w=668&q=80" alt=""></div>
  <div id="d3"><img src="https://images.unsplash.com/photo-1489179119189-cb959817a25f?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=ae7286da608f32217ae5c7adb9952c72&auto=format&fit=crop&w=800&q=60" alt=""></div>
  <div id="d4"><img src="https://images.unsplash.com/photo-1447703693928-9cd89c8d3ac5?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=c2371a2fa9e3e2b5fc2c80c02ce48f9e&auto=format&fit=crop&w=1951&q=80" alt=""></div>
  <div id="d5">
    <img src="https://images.unsplash.com/photo-1517429852637-a8406614a28a?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=c6710c10005115f6c2f5143f9f4b5ecf&auto=format&fit=crop&w=1950&q=80" alt="">
    <img src="https://images.unsplash.com/photo-1499455889999-4c141a0af0cb?ixlib=rb-0.3.5&s=be928f5f4ef2aad31fdd6b3e5555ba63&auto=format&fit=crop&w=1000&q=80" alt=""></div>
</section>
<section id="s4">
  <h1 id="hori">Lorem</h1>
  <h1 id="vert">Ipsum</h1>
  <div id="container">
    <div id="left"></div>
    <div id="right"></div>
    <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis similique at vitae sed, assumenda deleniti numquam laborum facere quibusdam odit et dolores obcaecati molestias distinctio iusto excepturi ratione veniam officiis. Lorem ipsum dolor
      sit amet consectetur adipisicing elit. Debitis similique at vitae sed, assumenda deleniti numquam laborum facere quibusdam odit et dolores obcaecati molestias distinctio iusto excepturi ratione veniam officiis.Lorem ipsum dolor sit amet consectetur
      adipisicing elit. Debitis similique at vitae sed, assumenda deleniti numquam laborum facere quibu Debitis similique at vitae. Debitis similique at vitae sed, assumenda deleniti numquam laborum facere quibu Debitis similique at vitae Debitis similique
      at vitae sed, assumenda deleniti numquam laborum facere quibu Debitis similique at vitae. Debitis similique at vitae Debitis similiquef. Lorem Ipsum.</p>
  </div>
</section>
            
          
!
            
              :root {
  --white: #efecec;
  --black: #171616;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  align-items: center;
  justify-items: center;
  background-color: var(--black);
  color: var(--white);
  font-family: sans-serif;
}

#s1,

#s2half {
  height: 100vh;
}

#s1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

h1 {
  font-size: 10vw;
  /*   border-bottom: 1px solid var(--white); */
  padding-bottom: 5%;
  font-family: "Libre Barcode 39 Text", cursive;
  font-weight: normal;
}

#s2 {
  width: 90%;
  padding: 5%;
  border: 1px solid var(--white);
}

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

#one {
  float: left;
  shape-outside: circle(50%);
  background-color: transparent;
  height: 20vw;
  width: 20vw;
  border-radius: 50%;
  margin: 5%;
}

#two {
  float: right;
  shape-outside: circle(50%);
  background-color: transparent;
  height: 20vw;
  width: 20vw;
  border-radius: 50%;
  margin: 5%;
}

#lgphoto {
  height: 100vh;
  width: 90%;
  padding: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}


#lgphoto div {
  height: 500px;
  width: 500px;
  border-radius: 50%;
  border: 1px solid var(--white);
}

#s2half {
  margin-top: 15%;
  margin-bottom: -10%;
  width: 1000px;
}

#s2half div {
  height: 500px;
  width: 500px;
}

#lefty {
  float: left;
  shape-outside: polygon(
    0% 4px,
    100.9% 0.46%,
    91.5% 0.59%,
    81.63% 3.46%,
    72.93% 7.52%,
    65.57% 12.91%,
    60.02% 20.22%,
    54.68% 28.89%,
    51.41% 38.59%,
    49.76% 48.83%,
    51.03% 61.77%,
    54.12% 71.04%,
    59% 79.54%,
    65.47% 86.52%,
    72.22% 91.84%,
    81.75% 96.92%,
    89.82% 99.55%,
    99.94% 99.95%,
    0px 100%
  );
}

#righty {
  float: right;
  shape-outside: polygon(
    100% 0px,
    100% 100%,
    5% 100.38%,
    -4px 100.4%,
    10.7% 99.24%,
    19.05% 95.92%,
    28.21% 92%,
    34.64% 86.27%,
    40.81% 80.17%,
    45.24% 72.44%,
    48.68% 62.69%,
    50.27% 53.64%,
    49.99% 42.36%,
    46.83% 32.19%,
    42.6% 23.26%,
    36.7% 15.91%,
    30.96% 10.82%,
    25.36% 7.16%,
    18.26% 3.39%,
    9.17% 0.52%,
    1.04% -0.34%
  );
}

#s2half p {
  margin: 0 auto;

}

#s3 {
  border: 1px solid var(--white);
  width: 90%;
  display: grid;
  grid-template-areas:
    "one two five"
    "three two five"
    "three four five";
  grid-gap: 1px;
  background-color: var(--white);
}

#s3 div {
  background-color: var(--black);
  padding: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

img {
  width: 100%;
}

#d1 {
  grid-area: one;
}

#d2 {
  grid-area: two;
}

#d3 {
  grid-area: three;
}

#d4 {
  grid-area: four;
}

#s3 #d5 {
  grid-area: five;
  flex-direction: column;
  justify-content: space-around;
}

#s4 {
  margin-top: 10%;
  width: 65%;
  display: grid;
}

#s4 h1 {
  font-family: sans-serif;
  margin: 0;
  font-size: 7vw;
  padding: 0;
}

#vert {
  writing-mode: vertical-rl;
  text-orientation: upright;
}

#s4 #hori {
  letter-spacing: 2vw;
  margin-right: 7vw;
  justify-self: end;
  align-self: start;
}

#s4 #container {
  height: 100%;
  width: 600px;
}

#container #left {
  height: 600px;
  width: 150px;
  float: left;
  shape-outside: polygon(
    2px 3px,
    105.32% 1.02%,
    83.79% 4.96%,
    69.93% 7.21%,
    49.62% 13.14%,
    36.04% 17.52%,
    16.06% 27.09%,
    1.02% 37.41%,
    1.13% 47.29%,
    -0.6% 55.32%,
    9.18% 62.34%,
    18.92% 70.51%,
    35.43% 75.02%,
    50.5% 81.68%,
    71.74% 86.84%,
    88.91% 91.76%,
    103.47% 95.77%,
    100.76% 99.86%,
    3px 100.16%
  );
}

#container #right {
  height: 600px;
  width: 450px;
  float: right;
  shape-outside: polygon(
    99.44% 2px,
    99.9% 100.42%,
    69.72% 93.76%,
    79.37% 88.28%,
    89.18% 82.87%,
    96.45% 76.55%,
    99.71% 71.33%,
    90% 72.77%,
    74.76% 74.18%,
    63.55% 73.38%,
    54.62% 72.31%,
    47.47% 70.59%,
    35.31% 66.54%,
    23.74% 60.75%,
    16.31% 54.24%,
    10.74% 47.46%,
    6.38% 41.63%,
    3.89% 34.21%,
    2.89% 28.44%,
    2% 20.92%,
    3.8% 14.97%,
    6.2% 9.2%,
    9.14% 4.21%,
    11.56% 0.83%
  );
}

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console