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

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

              
                <div class="grid">
    <a href="http://res.cloudinary.com/jduquain/f_auto,q_auto/flyer-04.jpg" class="inspiration" target="_blank" rel="noopener">Inspiration</a>
	
    <div class="header">
      <h3><span>Business</span> <span>Brochure</span></h3>
      <p><span>Lorem ipsum dolor sit amet, consectet elit. Soluta illo  non id quia esse totam vitae asper volupt beatae, aliquam unde repudian ah bota ale sur matthew holish debit odit.</span></p>
      <p>Lorem ipsum dolor sit amet, consectetur adipisic elit. Soluta illo distin non id quia esse totam vitae doloribus quam unde, earum! Assum debitis praesent, odit. Ah bota.</p>
    </div>
    
    <div class="polyline-wrap">
      <svg>
        <polyline points="75 0, 75 200, 5 271" />
      </svg>
    </div>
    
    <div class="polyline-wrap--two">
      <svg>
        <polyline points="510 0, 510 120, -2 640" />
      </svg>
    </div>
    
    <div class="dots">
      <svg width="70" height="100" viewBox="0 0 70 100">
        <defs>
           <g id="circle-group">
              <circle cx="7" cy="7" r="6"/>
              <circle cx="35" cy="7" r="6"/>
              <circle cx="63" cy="7" r="6"/>
           </g>
        </defs>
        <use xlink:href="#circle-group" />
        <use xlink:href="#circle-group" y="29" />
        <use xlink:href="#circle-group" y="57" />
        <use xlink:href="#circle-group" y="86" />
      </svg>
    </div>
    
    <div class="lorem--one">
      <h3>Lorem Ipsum</h3>
      <p>Lorem ipsum dolor sit amet, consectet adipisic elit. Aspernatur sunt laboriosam, voluptate autem eos! Voluptate itaque totam neque autem ratione sed incidunt provident</p>
    </div>
    
    <div class="steps">
      <div class="circle">
        <h4>Step 1</h4>
        <p>Lorem ipsum dolor sit</p>
      </div>
      <div class="circle">
        <h4>Step 2</h4>
        <p>Lorem ipsum dolor sit</p>
      </div>
      <div class="circle">
        <h4>Step 3</h4>
        <p>Lorem ipsum dolor sit</p>
      </div>
      <div class="circle">
        <h4>Step 4</h4>
        <p>Lorem ipsum dolor sit</p>
      </div>
    </div>
    
    <div class="triangle-lines"></div>
    
    <div class="bar--one"></div>
    
    <div class="triangle-lines--two"></div>
    
    <h1>
      <span>We Are</span>
      <span>Providing</span>
      <span>For Your</span>
      <span>Business.</span>
    </h1>
    
    <div class="bar--two"></div>
    
    <div class="triangle-lines--three"></div>
    
    <div class="bar--three"></div>
    
    <div class="dots dots--large">
      <svg width="110" height="140" viewBox="0 0 80 120">
       <defs>
           <g id="circle-group--large">
              <circle cx="7" cy="7" r="6"/>
              <circle cx="40" cy="7" r="6"/>
              <circle cx="73" cy="7" r="6"/>
           </g>
        </defs>
        <use xlink:href="#circle-group--large" />
        <use xlink:href="#circle-group--large" y="36" />
        <use xlink:href="#circle-group--large" y="69" />
        <use xlink:href="#circle-group--large" y="105" />
      </svg>
    </div>
    
    <div class="footer">
      <div class="footer--grid">
        <h3><span>Lorem Ipsum</span> <span>Dolor Sit Amet</span></h3>
        <div class="footer--icon">
          <svg width="45" height="45" class="icon-search" viewBox="0 0 32 32">
            <path d="M31.008 27.231l-7.58-6.447c-0.784-0.705-1.622-1.029-2.299-0.998 1.789-2.096 2.87-4.815 2.87-7.787 0-6.627-5.373-12-12-12s-12 5.373-12 12 5.373 12 12 12c2.972 0 5.691-1.081 7.787-2.87-0.031 0.677 0.293 1.515 0.998 2.299l6.447 7.58c1.104 1.226 2.907 1.33 4.007 0.23s0.997-2.903-0.23-4.007zM12 20c-4.418 0-8-3.582-8-8s3.582-8 8-8 8 3.582 8 8-3.582 8-8 8z"></path>
          </svg>
        </div>
        <p>Lorem ipsum dolor sit amet, consectet ah bota adipisic elit. Ipsum assumend, repellat blandit eius aprecante au jus.</p>
      </div>
      <div class="footer--grid">
        <h3><span>Lorem Ipsum</span> <span>Dolor Sit Amet</span></h3>
        <div class="footer--icon">
          <svg width="45" height="45" class="icon-cog" viewBox="0 0 32 32">
            <path d="M29.181 19.070c-1.679-2.908-0.669-6.634 2.255-8.328l-3.145-5.447c-0.898 0.527-1.943 0.829-3.058 0.829-3.361 0-6.085-2.742-6.085-6.125h-6.289c0.008 1.044-0.252 2.103-0.811 3.070-1.679 2.908-5.411 3.897-8.339 2.211l-3.144 5.447c0.905 0.515 1.689 1.268 2.246 2.234 1.676 2.903 0.672 6.623-2.241 8.319l3.145 5.447c0.895-0.522 1.935-0.82 3.044-0.82 3.35 0 6.067 2.725 6.084 6.092h6.289c-0.003-1.034 0.259-2.080 0.811-3.038 1.676-2.903 5.399-3.894 8.325-2.219l3.145-5.447c-0.899-0.515-1.678-1.266-2.232-2.226zM16 22.479c-3.578 0-6.479-2.901-6.479-6.479s2.901-6.479 6.479-6.479c3.578 0 6.479 2.901 6.479 6.479s-2.901 6.479-6.479 6.479z"></path>
          </svg>
        </div>
        <p>Lorem ipsum dolor sit amet, consectet ah bota adipisic elit. Ipsum assumend, repellat blandit eius aprecante au jus.</p>
      </div>
    </div>
	
	
  </div>	
  <div class="shadow--one"></div>
  <div class="shadow--two"></div>
              
            
!

CSS

              
                
:root {
	box-sizing: border-box;
	--gray-100: hsl(204, 45%, 98%);
  --gray-200: hsl(210, 38%, 95%);
  --gray-300: hsl(214, 32%, 91%);
  --gray-400: hsl(211, 25%, 84%);
  --gray-500: hsl(214, 20%, 69%);
  --gray-600: hsl(216, 15%, 52%);
  --gray-700: hsl(218, 17%, 35%);
  --gray-800: hsl(218, 23%, 23%);
  --gray-900: hsl(220, 26%, 14%);
  --pink: hsl(323, 85%, 63%);
  --pink-500: hsl(323, 60%, 50%);
}

*, ::before, ::after {
  box-sizing: inherit;
  text-decoration: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
	outline: none;
}

body {
  font-size: 100%;
  font-family: 'Fira Sans', sans-serif;
  width: 1280px;
  height: 875px;
  margin: 2em auto;
  color: var(--gray-700);
  background-color: var(--pink);
  font-family: 'Heebo', sans-serif;
  position: relative;
}

.inspiration {
  position: absolute;
  top: 1em;
  left: 8em;
  transition: all 300ms ease-in;
  font-size: .85em;
  color: hsl(25, 66%, 43%);
  z-index: 19500;
}

.inspiration:hover {
  color: hsl(25, 66%, 23%);
}

.grid {
  background-image: linear-gradient(135deg, #fff 0%, #fff 32%, var(--pink-500) 32%, var(--pink-500) 65%, #fff 65%, #fff 100%);
  overflow: hidden;
  height: 850px; 
  position: relative;
}

.grid::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(to right, rgba(0,0,0,.15), rgba(0,0,0,0));
  z-index: 100;
  left: 50%;
}

.header {
  width: 22%;
  margin: 4.5em 0 0 3.5em;
  padding-left: 2em;
  padding-top: 1.5em;
  padding-bottom: 9em;
  border-left: 3px solid var(--gray-800);
}

.header h3 {
  text-transform: uppercase;
  font-size: 1.1em;
  margin-bottom: .5em;
}

.header h3 span:last-of-type {
  color: var(--pink-500);
}

.header p {
  font-size: .8em;
}

.header p:first-of-type {
  margin-bottom: 1.2em;
}

.header p:first-of-type span {
  padding: 1px 3px;
  line-height: 1.7em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-color: var(--pink-500);
  color: #fff;
}

.header p:last-of-type {
  width: 74%;
}

.polyline-wrap {
  width: 100px;
  height: 275px;
  position: absolute;
  top: 0;
  left: 24%;
}

.polyline-wrap svg, .polyline-wrap--two svg {
  width: 100%;
  height: 100%;
}

.polyline-wrap polyline {
  fill: none;
  stroke: var(--pink-500);
  stroke-width: 3px;
}

.polyline-wrap--two {
  width: 550px;
  height: 680px;
  position: absolute;
  top: 0;
  left: 0;
}

.polyline-wrap--two svg {
  width: 100%;
  height: 100%;
}

.polyline-wrap--two polyline {
  fill: none;
  stroke: #333;
  stroke-width: 5px;
}

.dots {
  width: 70px;
  height: 100px;
  position: absolute;
  top: 1.5em;
  left: 32%;
}

.dots svg {
  width: 100%;
  height: 100%;
}

circle {
  fill: var(--pink-500);
}

.dots--large {
  transform: rotate(90deg);
  width: 120px;
  height: 150px;
  position: absolute;
  bottom: .8%;
  right: 35%;
  top: auto;
  left: auto;
}

.lorem--one {
  width: 17%;
  color: #fff;
  text-align: right;
  margin-left: 375px;
  margin-top: -160px;
}

.lorem--one h3 {
  text-transform: uppercase;
}

.lorem--one p {
  font-size: .8em;
}

.steps {
  width: 330px;
  height: 200px;
  margin-left: 130px;
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.steps .circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 6px solid black;
  background-color: #fff;
  transform: scale(1.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}

.steps .circle h4 {
  text-transform: uppercase;
  color: var(--pink-500);
  font-size: .8em;
  border-bottom: 2px solid black;
  margin-bottom: .3em;
  font-weight: 800;
}

.steps .circle p {
  font-size: .5em;
  width: 60px;
  text-align: center; 
}

.steps .circle:first-of-type {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  position: relative;
}

.steps .circle:first-of-type::before, 
.steps .circle:nth-of-type(3)::before {
  position: absolute;
  content: "";
  width: 9px;
  height: 50px;
  background-color: black;
  top: 5px;
  right: 0;
  transform-origin: 0% 0%;
  transform: rotate(-140deg);
}

.steps .circle:nth-of-type(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  position: relative;
}

.steps .circle:nth-of-type(2)::before {
  position: absolute;
  content: "";
  width: 9px;
  height: 50px;
  background-color: black;
  bottom: 10px;
  right: 0;
  transform-origin: 0% 100%;
  transform: rotate(140deg);
} 

.steps .circle:nth-of-type(3) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  position: relative;
}

.steps .circle:last-of-type {
  grid-column: 4 / 5;
}

.triangle-lines {
  width: 250px;
  height: 250px;
  position: absolute;
  left: 9%;
  bottom: -19%;
  right: 0;
  z-index: 200;
  background-image: repeating-linear-gradient(135deg, white, white 1px, var(--pink-500) 1px, var(--pink-500) 17px);
  transform: rotate(45deg);
}

.bar--one {
  position: absolute;
  height: 200px;
  width: 120px;
  background-color: #000;
  top: 0;
  left: 49%;
  transform: skewX(-45deg);
}

.bar--one::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 100%;
  background-color: #fff;
  top: 37%;
  left: 23%;
}

.triangle-lines--two {
  width: 250px;
  height: 250px;
  position: absolute;
  top: -9.5%;
  right: 5%;
  left: auto;
  bottom: auto;
  z-index: 200;
  background-image: repeating-linear-gradient(135deg, black, black 2px, var(--pink-500) 2px, var(--pink-500) 17px);
  transform: rotate(45deg);
}

h1 {
  text-transform: uppercase;
  color: #fff;
  font-size: 3.75em;
  position: absolute;
  top: 120px;
  right: 280px;
  line-height: .85;
  font-weight: 500;
}

h1 span {
  display: block;
}

.bar--two {
  position: absolute;
  height: 350px;
  width: 200px;
  background-color: #000;
  top: 42%;
  left: 48%;
  transform: skewX(-45deg);
}

.bar--two::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 107%;
  background-color: #fff;
  top: -1.5%;
  left: 70%;
}

.triangle-lines--three {
  width: 200px;
  height: 200px;
  position: absolute;
  z-index: 200;
  background-image: repeating-linear-gradient(135deg, white, white 1px, transparent 1px, transparent 12px);
  top: 48.5%;
  left: 55.5%;
  transform: rotate(45deg);
}

.bar--three {
  position: absolute;
  height: 250px;
  width: 120px;
  background-color: #000;
  top: 11%;
  left: 94%;
  transform: skewX(-45deg);
}

.bar--three::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 80%;
  background-color: var(--pink-500);
  top: 8%;
  left: 50%;
}

.footer {
  position: absolute;
  width: 20%;
  right: 5%;
  bottom: 8%;
}

.footer--grid {
  text-align: right;
  display: grid;
  grid-template-columns: 1fr min-content;
  grid-template-rows: auto auto;
  grid-gap: .5em .75em;
  margin-bottom: 1.5em;
}

.footer h3 {
  font-size: 1.5em;
  text-transform: uppercase;
  color: #222;
  line-height: 1.05;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.footer h3 span:first-of-type {
  display: block;
}

.footer h3 span:last-of-type {
  display: block;
}

.footer p {
  font-size: .8em;
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.footer--icon {
  grid-template-columns: 2 / 3;
  grid-row: 1 / 2;
}

.footer svg {
  fill: var(--pink-500);
  width: 45px;
  height: 45px;
}

div.shadow--one, div.shadow--two {
  content: "";
  position: absolute;
  transform: rotate(-2deg);
  height: 2%;
  width: 35%;
  bottom: 57px;
  left: 12px;
  box-shadow: 0 2.1em 1.5em rgba(0,0,0,1);
  z-index: -1;
}

div.shadow--two {
  transform: rotate(2deg);
  right: 12px;
  left: auto;
}





              
            
!

JS

              
                
              
            
!
999px

Console