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

              
                </section>
<section id="type">
  <div id="container">
    <p class="overline">Display 9XL</p>
    <h1 class="display">Take care of your&nbsp;team</h1>
    <p class="overline">Display 8XL</p>
    <h2 class="display">Take care of your&nbsp;team</h2>
    <p class="overline">Display 7XL</p>
    <h3 class="display">Take care of your&nbsp;team</h3>
    <p class="overline">Display 6XL</p>
    <h4 class="display">Take care of your&nbsp;team</h4>
    <p class="overline">Display 5XL</p>
    <h5 class="display">Take care of your&nbsp;team</h5>
    <p class="overline">Display 4XL</p>
    <h6 class="display">Take care of your&nbsp;team</h6>
    <p class="overline">Headline 7XL</p>
    <h1>Take care of your&nbsp;team</h1>
    <p class="overline">H2</p>
    <h2>Take care of your&nbsp;team</h2>
    <p class="overline">Headline 6XL</p>
    <h3>Take care of your&nbsp;team</h3>
    <p class="overline">Headline 5XL</p>
    <h4>Take care of your&nbsp;team</h4>
    <p class="overline">Headline 4XL</p>
    <h5>Take care of your&nbsp;team</h5>
    <p class="overline">Headline 3XL</p>
    <h6>Take care of your&nbsp;team</h6>
    <p class="overline">Blockquote</p>
    <p class="blockquote">“There’s often a disconnect between being an artist and actually working as an artist.”</p>
    <p class="overline">Text 2xl</p>
    <p class="text-2xl">I gave it a cold? I gave it a virus. A computer virus. Did he just throw my cat out of the window? Yes, Yes, without the oops! God help us, we're in the hands of engineers. </p>
    <p class="overline">Text xl</p>
    <p class="text-xl">I gave it a cold? I gave it a virus. A computer virus. Did he just throw my cat out of the window? Yes, Yes, without the oops! God help us, we're in the hands of engineers. </p>
    <p class="overline">Text lg</p>
    <p class="text">I gave it a cold? I gave it a virus. A computer virus. Did he just throw my cat out of the window? Yes, Yes, without the oops! God help us, we're in the hands of engineers. </p>
</section>
<section id="spacers">
  <div id="container">
  <h4>Fluid Spacers</h4>
  <div id="spacer-xxl">
    <p class="overline spacer-type">XXL</p>
  </div>
  <div id="spacer-xl">
    <p class="overline spacer-type">XL</p>
  </div>
  <div id="spacer-l">
    <p class="overline spacer-type">L</p>
  </div>
  <div id="spacer-m">
    <p class="overline spacer-type">M</p>
  </div>
  <div id="spacer-s">
    <p class="overline spacer-type">S</p>
  </div>
  <div id="spacer-xs">
    <p class="overline spacer-type">XS</p>
  </div>
  </div>
</section>
              
            
!

CSS

              
                @import url("https://staging.thriveglobal.com/_next/static/css/5674832e1468d24d.css");
@import url("https://staging.thriveglobal.com/_next/static/css/c8a570ef0b99e690.css");

:root {
 /* font-family */
  --font-sans: GT America LCG;
  --font-serif: GT Super;
  --font-display: GT Super Display;
  
/* line-height */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-relaxed: 1.625;
  
/* letter-spacing */
  --tracking-tight: -0.01em;
  --tracking-normal: 0em;
  --tracking-widest .012em;
  
/* font-weight */
  --font-thin: 100;
  -- font-extralight: 200;
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;
  
/* font-size */
  --text-xs: clamp(10px, calc(10px + (12 - 10) * ((100vw - 375px) / (1600 - 375))), 12px);
  --text-sm: clamp(12px, calc(12px + (14 - 12) * ((100vw - 375px) / (1600 - 375))), 14px);
  --text-base: clamp(14px, calc(14px + (16 - 14) * ((100vw - 375px) / (1600 - 375))), 16px);
  --text-lg: clamp(16px, calc(16px + (18 - 16) * ((100vw - 375px) / (1600 - 375))), 18px);
  --text-xl: clamp(18px, calc(18px + (20 - 18) * ((100vw - 375px) / (1600 - 375))), 20px);
  --text-2xl: clamp(20px, calc(20px + (24 - 20) * ((100vw - 375px) / (1600 - 375))), 24px);
  --text-3xl: clamp(24px, calc(24px + (30 - 24) * ((100vw - 375px) / (1600 - 375))), 30px);
  --text-4xl: clamp(30px, calc(30px + (36 - 30) * ((100vw - 375px) / (1600 - 375))), 36px);
  --text-5xl: clamp(32px, calc(32px + (48 - 32) * ((100vw - 375px) / (1600 - 375))), 48px);
  --text-6xl: clamp(36px, calc(36px + (60 - 36) * ((100vw - 375px) / (1600 - 375))), 60px);
  --text-7xl: clamp(40px, calc(40px + (72 - 40) * ((100vw - 375px) / (1600 - 375))), 72px);
  --text-8xl: clamp(48px, calc(48px + (96 - 48) * ((100vw - 375px) / (1600 - 375))), 96px);
  --text-9xl: clamp(60px, calc(60px + (128 - 60) * ((100vw - 375px) / (1600 - 375))), 128px);
  
/* fluid-spacer */
  --space-xs: clamp(12px, calc(12px + (16 - 12) * ((100vw - 375px) / (1600 - 375))), 16px);
  --space-s: clamp(20px, calc(20px + (32 - 20) * ((100vw - 375px) / (1600 - 375))), 32px);
  --space-m: clamp(30px, calc(30px + (48 - 30) * ((100vw - 375px) / (1600 - 375))), 48px);
  --space-l: clamp(50px, calc(50px + (80 - 50) * ((100vw - 375px) / (1600 - 375))), 80px);
  --space-xl: clamp(80px, calc(80px + (128 - 80) * ((100vw - 375px) / (1600 - 375))), 128px);
  --space-xxl: clamp(130px, calc(130px + (208 - 130) * ((100vw - 375px) / (1600 - 375))), 208px);
  
/* color */
  --primary-50: #ECEBF7;
  --primary-100: #e8defc;
  --primary-200: #ded0fb;
  --primary-500: #8C5EE5;
  --primary-800: #1E0056;
  
  /* grid */
  --content-width: 730px;
  
}

* {
  padding: 0;
  margin: 0;
}

body {
  background: var(--primary-50);   
}

html {
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  line-height: var(--leading-none);
  letter-spacing: -0.015em;
  color: #16003f;
  margin-bottom: var(--space-l);
  font-variant-ligatures: discretionary-ligatures;
}

h1.display {font-size: var(--text-9xl);}
h2.display {font-size: var(--text-8xl);}
h3.display {font-size: var(--text-7xl);}
h4.display{font-size: var(--text-6xl);}
h5.display{font-size: var(--text-5xl);}
h6.display {font-size: var(--text-4xl);}

h1 {font-size: var(--text-7xl);}
h2 {font-size: var(--text-6xl);}
h3 {font-size: var(--text-5xl);}
h4 {font-size: var(--text-4xl);}
h5 {font-size: var(--text-3xl);}
h6 {font-size: var(--text-2xl);}

p {
  font-family: GT America LCG;
  font-style: normal;
  font-weight: 400;
  font-size: var(--text-lg);
  line-height: 160%;
  color: #4b5358;
  margin-bottom: 20px;
  -webkit-font-smoothing: antialiased;
}

.display {
  font-family: var(--font-display);
}

p.overline {
  border-top: var(--primary-200) 1px solid;
  padding-top: var(--space-l);
  text-transform: uppercase;
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration-line: none;
}

p.blockquote{
  font-size: var(--text-5xl);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--primary-800);
  max-width: var(--content-width);
  text-indent: -0.5em;
  margin-bottom: var(--space-l);
}

p.text{
  max-width: var(--content-width);
}

p.text-xl{
  max-width: var(--content-width);
  font-size: var(--text-xl);
}

p.text-2xl{
  max-width: var(--content-width);
  font-size: var(--text-2xl);
}

::selection {
  background: #ded0fb;
  color: #16003F;
}
#type {
  margin: 0 clamp(24px, calc(24px + (48 - 24) * ((100vw - 375px) / (1600 - 375))), 48px);
  padding: var(--space-xl) 0;
}

#spacers {
  margin: 0 clamp(24px, calc(24px + (48 - 24) * ((100vw - 375px) / (1600 - 375))), 48px);
  padding: var(--space-xl) 0;
}

#container {
  margin: 0 auto;
  height: 100%;
  max-width: 1280px;
}

#spacer-xxl {
  height: var(--space-xxl);
  background: var(--primary-200);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  margin-bottom: var(--space-m);
}

#spacer-xl {
  height: var(--space-xl);
  background: var(--primary-200);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  margin-bottom: var(--space-m);
}

#spacer-l {
  height: var(--space-l);
  background: var(--primary-200);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  margin-bottom: var(--space-m);
}

#spacer-m {
  height: var(--space-m);
  background: var(--primary-200);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  margin-bottom: var(--space-m);
}

#spacer-s {
  height: var(--space-s);
  background: var(--primary-200);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  margin-bottom: var(--space-m);
}

#spacer-xs {
  height: var(--space-xs);
  background: var(--primary-200);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  margin-bottom: var(--space-m);
}

.overline.spacer-type {
  padding: 0;
  border: none;
  margin-bottom: 0;
}


/*
@font-face {
  font-family: "GT Super Display";
  src: url("https://www.dropbox.com/s/klcjqth0sz4htw0/GT-Super-Display-Regular.otf?raw=1");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "GT America Medium";
  src: url("https://www.dropbox.com/s/c4nwda3q8wqk9ja/GT-America-Standard-Regular-Trial.woff2?raw=1");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "GT America Medium";
  src: url("https://www.dropbox.com/s/484fl6m91008xn0/GT-America-LCG-Standard-Medium.otf?raw=1");
  font-weight: 400;
  font-style: normal;
}
*/
              
            
!

JS

              
                
              
            
!
999px

Console