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

Auto Save

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

              
                <html>
<head>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Rokkitt&family=Rubik:wght@700&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="the.css" />
</head>
  <body>
    <div class="typographicHero">
      <h1><b>Joe</b> <b>Rhoney</b></h1>
      <div class="jBig">
        <p>UI/&#8203;UX, re&shy;spon&shy;sive lay&shy;out, hard&shy;ware-ac&shy;cel&shy;er&shy;at&shy;ed graph&shy;ics/&#8203;an&shy;i&shy;ma&shy;tion, ac&shy;ces&shy;si&shy;bili&shy;ty, search en&shy;gine op&shy;ti&shy;miza&shy;tion, de&shy;bug&shy;ging, de&shy;vice/&#8203;brows&shy;er com&shy;pat&shy;i&shy;bil&shy;i&shy;ty, adap&shy;tive out&shy;put,

        CSS3, HTML5, Ja&shy;va&shy;Script, ES6, React, JSON, jQuery, SVG, PHP, CLIs (Bash, Z shell, Git, Git&shy;Hub), SQL,

        All ma&shy;jor brows&shy;ers and their in&shy;spec&shy;tion tools, VS&shy;Code (and other IDEs), Git&shy;Hub Desk&shy;top, Cy&shy;ber&shy;Duck, File&shy;Zilla, Adobe Cre&shy;ative Suite (Adobe Pho&shy;to&shy;shop, Adobe Il&shy;lus&shy;tra&shy;tor, Adobe XD, Adobe Pre&shy;miere, Adobe After&shy;Ef&shy;fects), Af&shy;fin&shy;i&shy;ty Suite (Af&shy;fin&shy;i&shy;ty Pho&shy;to 2, Af&shy;fin&shy;i&shy;ty De&shy;sign&shy;er 2, Af&shy;fin&shy;i&shy;ty Pub&shy;lish&shy;er), GIMP, Ink&shy;Scape,

        At&shy;lass&shy;ian, Figma, Teal&shy;ium, Work&shy;Place, Slack, Zoom, Site&shy;Im&shy;prove, Pay&shy;Pal, WC3 Mark&shy;up Val&shy;i&shy;da&shy;tion, Google Search&shy;Con&shy;sole, Page&shy;Speed In&shy;sights, Mo&shy;bile-Friend&shy;ly Test, Reg&shy;Exr, Acu&shy;net&shy;ix, Brows&shy;er&shy;Stack,

        Se&shy;mant&shy;ics, nam&shy;ing con&shy;ven&shy;tion and code for&shy;mat ad&shy;her&shy;ence, cross-brows&shy;er/&#8203;de&shy;vice com&shy;pat&shy;i&shy;bil&shy;i&shy;ty, W3C com&shy;pli&shy;ance, ac&shy;cess&shy;i&shy;bil&shy;i&shy;ty, SEO page ba&shy;sics, con&shy;tin&shy;ued educa&shy;tion,

        Custom com&shy;pon&shy;ent librar&shy;ies, Hack/&#8203;XHP, React Na&shy;tive, Python, Perl, .NET, ASP, CSS pro&shy;cess&shy;ors (SCSS, etc.), Boot&shy;strap, scrum pro&shy;cess, us&shy;ing macOS, Windows, Linux OSs.
        
        Like this typographic layout? Learn more about it on my Codepen</p>
      </div>
      <div class="jDots">
        <p>
          Il&shy;lus&shy;tra&shy;tion, an&shy;i&shy;ma&shy;tion, video ed&shy;i&shy;ting, pho&shy;tog&shy;ra&shy;phy, lay&shy;out, col&shy;or de&shy;sign, ty&shy;pog&shy;ra&shy;phy, char&shy;ac&shy;ter/&#8203;crea&shy;ture de&shy;sign, con&shy;cep&shy;tu&shy;al art, back&shy;ground art, life draw&shy;ing, car&shy;i&shy;ca&shy;tures

          Dig&shy;i&shy;tal art tab&shy;let, ink, pen&shy;cil/&#8203;graphite, char&shy;coal, col&shy;ored pen&shy;cil, pas&shy;tel, paint, wa&shy;ter&shy;col&shy;or, Pan&shy;tone Col&shy;or Chart, Adobe Il&shy;lus&shy;tra&shy;tor, Adobe Pho&shy;to&shy;shop, Af&shy;fin&shy;i&shy;ty Pho&shy;to 2, Af&shy;fin&shy;i&shy;ty De&shy;sign&shy;er 2.
        
        This lay&shy;out uses shape-out&shy;side to pro&shy;duce a shape-in&shy;side ef&shy;fect (since shape-in&shy;side still isn't sup&shy;por&shy;ted yet).</p>
      </div>
    </div> 

    <div class="aboutText">
      <p>I created this for my website. It is actual text you can select.  Try it! It's also responsive.</p>
      <p>I'm using the css rule <code>shape-outside</code> to produce a shape-inside effect (since <a href="https://drafts.csswg.org/css-shapes-2/#propdef-shape-inside" target="_blank">shape-inside</a> still isn't supported).</p>
    </div>
  </body>
</html>
              
            
!

CSS

              
                @charset "UTF-8";
body {
  --color-1: #FFFFFF;
  --color-2: #FFEAA8;
  --color-3: #FF8F1D;
  --color-4: #C94565;
  --color-5: #5A3A67;
  --color-6: #0F1A1F;
  background: var(--color-1);
  color: var(--color-6);
  margin: 0;
  padding: 0;
}
@media (prefers-color-scheme: dark) {
  body {
    --color-1: #0F1A1F;
    --color-2: #5A3A67;
    --color-3: #C94565;
    --color-4: #FF8F1D;
    --color-5: #FFEAA8;
    --color-6: #FFFFFF;
  }
}
.typographicHero a {
  border-color: transparent;
  border-radius: .4vh;
  border-style: solid;
  border-width: 2px;
  color: var(--color-4);
  display: inline-block;
  font-weight: 900;
  margin: -2px;
  text-decoration: none;
}
.typographicHero a:focus,
.typographicHero a:hover {
  border-color: currentColor;
}
.typographicHero h1 {
  color: var(--color-4);
  display: inline-block;
  font: 400 13vh/1.2em Rubik,sans-serif;
  position: absolute;
  text-transform: lowercase;
}
@media (prefers-color-scheme: dark) {
  .typographicHero h1 {
    color: var(--color-5);
  }
}
.typographicHero h1 b:nth-child(1) {
  left: 3.6vh;
  position: relative;
  top: -9.5vh;
}
.typographicHero h1 b:nth-child(1)::before {
  font: inherit;
  content: ": ";
  display: inline-block;
  letter-spacing: 0.2vh;
}
.typographicHero h1 b:nth-child(2) {
  left: 6.3vh;
  position: absolute;
  top: 51.2vh;
}
.typographicHero {
  height: 100vh;
  rotate: 21.62deg;
  translate: 1vh 1vh;
  width: 50vh;
}
.typographicHero p {
  background: -webkit-linear-gradient(var(--color-6), var(--color-5), var(--color-4), var(--color-3), var(--color-2), var(--color-1));
  -webkit-background-clip: text;
  font-family: Rokkitt, Courier, monospace;
  font-size: 1.6vh;
  font-weight: normal;
  height: 100vh;
  hyphens: auto;
  margin: 0;
  letter-spacing: -0.04vh;
  line-height: .85em;
  padding: 0;
  position: relative;
  text-align: justify;
  -webkit-text-fill-color: transparent;
}
.typographicHero .jDots {
  position: absolute;
  top: 0;
  width: 20vh;
}
.typographicHero .jDots::before {
  content: "";
  display: block;
  float: left;
  height: 100vh;
  shape-outside: polygon(0% 0%, 100% 0%, 100% 18.3%, 52.57% 18.33%, 45.43% 19.41%, 45.81% 28.88%, 51.89% 29.84%, 100% 29.81%, 100% 40.58%, 54.08% 40.5%, 45.86% 41.7%, 46.31% 51%, 53.6% 52.13%, 100% 52.07%, 100.00% 73.50%, 36.32% 73.50%, 95.61% 100%, 0% 100%);
  width: 18vh;
}
.typographicHero .jDots p { 
  width: 20vh;
}
.typographicHero .jDots p::before {
  content: "";
  display: block;
  float: right;
  height: 100vh;
  shape-outside: polygon(100% 0%, 58.34% 0%, 71.78% 0%, 0% 0%, 0% 18.45%, 71.26% 19.66%, 73.12% 28.06%, 0% 29.14%, 0% 40.55%, 77.42% 41.64%, 81.37% 50.19%, 0% 51.89%, 2.45% 73.50%, 100.00% 73.50%);
  width: 1.75vh;
}
.typographicHero .jBig {
  position: absolute;
  top: 0;
}
.typographicHero .jBig::before {
  content: "";
  display: block;
  float: left;
  height: 100vh;
  shape-outside: polygon(0% 0%, 100% 0.08%, 100% 4.32%, 95.05% 5.32%, 95.16% 13.53%, 100% 14.53%, 100% 18.42%, 95.42% 19.23%, 95.68% 50.22%, 95.21% 51.67%, 93.52% 53.22%, 90.05% 54.29%, 84.94% 54.72%, 72.21% 54.77%, 68.26% 55.88%, 68.26% 62.73%, 72.12% 63.71%, 100% 63.62%, 99.78% 73.50%, 73.50% 73.50%, 74.39% 99.66%, 0% 100%);
  width: 29vh;
}
.typographicHero .jBig p { 
  width: 50vh;
}
.typographicHero .jBig p::before {
  content: "";
  display: block;
  float: right;
  height: 100vh;
  shape-outside: polygon(100% 0%, 0% 0%, 0% 4.33%, 38.9% 4.33%, 44.95% 5%, 46.24% 6.38%, 46.24% 12.29%, 45.78% 13.51%, 41.52% 14.35%, 0.11% 14.34%, 0% 18.45%, 39.28% 18.4%, 44.38% 18.96%, 46.24% 20.07%, 46.21% 51.11%, 44.03% 55.24%, 37.11% 58.33%, 27.62% 60.53%, 16.31% 62.1%, 0% 63.2%, 0.01% 73.50%, 74.76% 73.50%, 75.78% 75.02%, 90.75% 75.09%, 40.38% 99.91%, 100% 100%);
  width: 20.75vh;
}



/* NOT PART OF THE FEATURE */
.aboutText {
  font: 16px/1.2em monospace;
  position: fixed;
  right: 0;
  text-align: right;
  top: 0;
  width: 300px;
}
.aboutText a {
  color: var(--color-4);
}
              
            
!

JS

              
                
              
            
!
999px

Console