css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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">
  <div id="outer">
    <div id="inner">
      <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/" x="0px" y="0px" width="323px" height="624.9px" viewBox="0 0 323 624.9" style="enable-background:new 0 0 323 624.9;"
        xml:space="preserve">
<style type="text/css">
	.st0{fill:none;stroke:#FFFFFF;stroke-width:5;stroke-miterlimit:10;}
</style>
<defs>
</defs>
<g>
	<polyline class="st0" points="3,318.2 320.5,619.1 320.5,103.7 92.1,3.4 3,318.2 225.8,421.3 320.5,103.7 	"/>
	<line class="st0" x1="320.5" y1="619.1" x2="225.8" y2="421.3"/>
</g>
</svg>
    </div>
</section>
<section id="s2">
  <div class="top">
    <h1>Lorem</h1>
    <h1>Ipsum</h1>
  </div>
  <div>
    <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? Reiciendis. 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 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 ut. Architecto. </p>
    <div class="other">
      <h1>LoremIpsum</h1>
      <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/108463/photo-1496147195884-6ab7f7c0a027.jpeg" alt="">
      <h2>Lorem</h2>
    </div>

  </div>
</section>
<section id="s3">
  <div id="d1">
    <p>Lorem</p>
    <p>Ipsum</p>
    <p>Lorem</p>
    <p>Ipsum</p>
    <div id="square">
      <div id="circle">
        <div id="little-circle"></div>
      </div>
    </div>
  </div>
</section>
<section id="s4">
  <div id="top">
    <div class="left"></div>
    <div class="right"></div>
    <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Amet ullam aliquid suscipit labore dolore nemo id nulla! Eius consequuntur, excepturi reiciendis repudiandae aliquid ea commodi quae ullam eligendi dicta aliquam! Lorem, ipsum dolor sit amet
      consectetur adipisicing elit. Cum odio reprehenderit non ipsam, eius ab nemo? Esse qui omnis, voluptatum voluptas iusto voluptatem eius, sequi tempore ducimus dignissimos voluptates magnam. Lorem ipsum dolor sit, amet consectetur adipisicing elit.
      Velit cum officia animi hic, rem laborum tenetur magnam architecto fugiat nulla aspernatur repellendus! Adipisci odio odit nulla at quos mollitia voluptates. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Itaque, numquam doloremque tempora
      acu s?</p>
  </div>
  <div id="bottom">
    <div class="left"></div>
    <div class="right"></div>
    <p>Lo rem ipsum, dolor sit amet consectetur adipisicing elit. Amet ullam aliquid suscipit labore dolore nemo id nulla! Eius consequuntur, excepturi reiciendis repudiandae aliquid ea commodi quae ullam eligendi dicta aliquam! Lorem ipsum dolor sit amet
      consectetur, adipisicing elit. Laborum quibusdam facere, ullam nesciunt, minima maxime modi veniam exercitationem sed commodi animi molestias aliquam iure, possimus laudantium perspiciatis fuga suscipit ipsum. Lorem ipsum dolor sit, amet consectetur
      adipisicing elit. Quisquam, fugit quo obcaecati laudantium fuga officia doloremque incidunt temporibus assumenda dolor aliquam deserunt adipisci quos molestiae eaque sequi quam magni sint. Lorem ipsum, dolor sit amet consectetur adipisicing elit.
      Illum voluptatum voluptas dolore ea recusandae ipsum adipiscid.</p>
  </div>
  <div class="s4-tri t-left">
    <div class="s4-t-in">
      <div><b></b></div>
    </div>
  </div>
  <div class="s4-tri t-right">
    <div class="s4-t-in">
      <div><b></b>
        </>
      </div>
    </div>
  </div>
</section>
<section id="s5">
  <b class="one"></b>
  <h1>Lorem Ipsum</h1>
  <b class="two"></b>
</section>
            
          
!
            
              :root {
  --background: #018fd0; /*   #0086c3 */
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  background-color: var(--background);
  font-family: "Questrial", sans-serif;
  font-weight: lighter;
  color: white;
  overflow-x: hidden;
}

#s1 {
  display: flex;
  align-items: center;
  justify-content: center;
  float: left;
  width: 100vw;
  height: 100vw;
  border-radius: 50%;
  margin-left: -50vw;
  shape-outside: circle(57.56% at 0.56% 49.9%);
  shape-margin: 4vw;
}

#s1 div#outer {
  height: 90%;
  width: 90%;
  border-radius: 50%;
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/108463/photo-1496147195884-6ab7f7c0a027.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

#inner {
  background-color: var(--background);
  height: 90%;
  width: 90%;
  border-radius: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: justify;
}

#inner svg {
  grid-column: 2;
  align-self: center;
  transform: rotatez(45deg);
  height: 50vw;
}

#s2 div.top {
  display: grid;
  align-items: end;
  justify-items: end;
  height: 35vw;
}

h1 {
  font-weight: lighter;
  font-size: 6vw;
  margin: 0;
}

#s2 div.top h1:nth-child(1) {
  /*   margin-right: 10vw; */
}

#s2 div.top h1:nth-child(2) {
  writing-mode: vertical-rl;
  text-orientation: upright;
  justify-self: center;
}

.other {
  position: absolute;
  height: 100%;
  width: 40%;
  right: 0;
  top: 35vw;
  display: grid;
}

#s2 p {
  text-align: justify;
  hyphens: auto;
  width: 60%;
  margin: 0;
  font-size: 1.6vw;
}

.other h1 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  justify-self: start;
  grid-row: 1;
}

.other img {
  width: 80%;
  justify-self: end;
  align-self: center;
  grid-row: 1 / 3;
  clip-path: circle(50% at 100% 50%);
}

.other h2 {
  justify-self: center;
  grid-column: 2;
  font-weight: lighter;
  font-size: 6vw;
  margin: 0;
  margin-right: -1vw;
  margin-top: -5vw;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

#s3 {
  height: 95vh;
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/108463/photo-1496147195884-6ab7f7c0a027.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  margin: 20vw 5vw 10vw 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

#d1 {
  background-color: var(--background);
  height: 90%;
  width: 90%;
  display: grid;
}

#d1 p {
  font-size: 6vw;
}

#d1 p:nth-child(1) {
  grid-row: 1;
  grid-column: 1 / 3;
  justify-self: center;
  align-self: start;
}

#d1 p:nth-child(2) {
  grid-row: 1 / 3;
  grid-column: 2;
  justify-self: end;
  align-self: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

#d1 p:nth-child(3) {
  grid-row: 2;
  grid-column: 1 / 3;
  justify-self: center;
  align-self: end;
}

#d1 p:nth-child(4) {
  grid-row: 1 / 3;
  grid-column: 1;
  justify-self: start;
  align-self: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

#square {
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/108463/photo-1496147195884-6ab7f7c0a027.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 20vw;
  width: 20vw;
  justify-self: center;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

#circle {
  height: 70%;
  width: 70%;
  background-color: var(--background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#little-circle {
  height: 60%;
  width: 60%;
  border: 3px solid white;
  border-radius: 50%;
}

#top,
#bottom {
  height: 40vw;
  width: 100vw;
}

#top p,
#bottom p {
  margin: 0;
  text-align: justify;
  hyphens: auto;
  font-size: 1.6vw;
}

.left,
.right {
  height: 100%;
  width: 50%;
}

.left {
  float: left;
}

.right {
  float: right;
}

#top .left {
  shape-outside: polygon(50% 0px, 100% 100%, 0px 100%);
}

#top .right {
  shape-outside: polygon(50% 0px, 100% 100%, 0px 100%);
}

#bottom .left {
  shape-outside: polygon(0px 0px, 100% 0px, 50% 100%);
}

#bottom .right {
  shape-outside: polygon(100% 0px, 50% 100%, 0px 0px);
}

.s4-tri {
  height: 40vw;
  width: 40vw;
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/108463/photo-1496147195884-6ab7f7c0a027.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 5;
  margin: 5vw;
  margin-top: -60vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-left {
  float: left;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}
.t-right {
  float: right;

  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.s4-t-in {
  background-color: var(--background);
  height: 80%;
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-left .s4-t-in {
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.t-right .s4-t-in {
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.s4-t-in div {
  height: 80%;
  width: 80%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-left .s4-t-in div {
  margin-left: -1.5%;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.t-right .s4-t-in div {
  margin-right: -1.5%;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.s4-t-in div b {
  background-color: var(--background);
  height: 95%;
  width: 95%;
}

.t-left .s4-t-in div b {
  margin-left: -1.5%;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.t-right .s4-t-in div b {
  margin-right: -1.5%;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

#s5 {
  height: 100vh;
  display: grid;
  margin-top: 15vw;
}

#s5 h1 {
  align-self: center;
  justify-self: center;

  font-size: 8vw;
}

#s5 b {
  height: 10vw;
  width: 75vw;
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/108463/photo-1496147195884-6ab7f7c0a027.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
}

#s5 b.one {
  align-self: start;
  justify-self: end;
}

#s5 b.two {
  align-self: end;
  justify-self: start;
}

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

Console