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

              
                <section class="title_section">
  <h1 class="title">
    Come for the features
    <br />
    stay for the magic
  </h1>
  <img class="sparkle" src="https://www.getstark.co/homepage__features-magic-sparkle.svg" />

  <svg class="line" width="320" height="65" viewBox="0 0 365 59" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path d="M0.5 58.8569L2.19636 6.40476L364.5 0.856934L362.942 58.8569H0.5Z" fill="#e8766f"></path>
  </svg>
</section>

<div class="container">
  <img class="blob1" src="https://www.getstark.co/homepage-blob-1.png" />

  <img class="blob2" src="https://www.getstark.co/homepage-blob-2.png" />

  <section class="div1">
    <img src="https://images.getstark.co/marketing/features/contrast.png" />
    <h1>CONTRAST CHECKER + COLOR SUGGESTIONS</h1>
  </section>
  <section class="div2">
    <img src="https://images.getstark.co/marketing/features/focus-order.png" />
    <h1> Focus Order </h1>
  </section>
  <section class="div3">
    <h1>
      LANDMARKS
    </h1>
    <img src="https://images.getstark.co/marketing/features/landmarks.png" />
  </section>
  <section class="div4">
    <img src="https://images.getstark.co/marketing/features/vision-simulator.webp" />
    <h1>VISION SIMULATOR + GENERATOR</h1>
  </section>
  <section class="div5"><img src="https://images.getstark.co/marketing/features/platform-grid.webp" />
    <div class="middle">

    </div>
    <h1>
      WORKS IN YOUR DESIGN TOOL AND BROWSER
    </h1>
  </section>
  <section class="div6"> <img src="https://images.getstark.co/marketing/features/touch-targets.png" />
    <h1>
      TOUCH TARGETS
    </h1>

  </section>
  <section class="div7">
    <h1>
      IN-APP EDUCATION
    </h1>
    <img src="https://images.getstark.co/marketing/features/education.png" />

  </section>

  <section class="div8">
    <img src="https://images.getstark.co/marketing/features/alt-text.png" />
    <h1>ALT-TEXT ANNOTATIONS </h1>
  </section>
  <section class="div9">
    <h1>LIVE PREVIEW IN BROWSER</h1>
    <img src="https://images.getstark.co/marketing/features/live-preview.webp" />
  </section>
  <section class="div10">
    <img src="https://images.getstark.co/marketing/features/typography.png" />
    <h1>TYPOGRAPHY </h1>
  </section>

  <section class="div11">
    <img src="https://images.getstark.co/marketing/features/sso.png" />
    <h1>SSO + TEAM ACCOUNT MANAGEMENT</h1>
  </section>

  <section class="div12">
    <img src="https://images.getstark.co/marketing/features/suite.webp" />
    <h1> BEAUTIFULY SIMPLE, LIGHTINING FAST</h1>
  </section>
</div>
              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;600;700&family=Roboto:wght@400;500;700;900&display=swap");

:root {
  --color1: #f6f6ec;
  --color2: #a3d0c8;
  --color3: #fedb63;
  --color4: #e8766f;
  --color5: #a399ea;
  --color6: #fc6f6b;
  --color7: #10284b;
  --shadow: drop-shadow(rgba(0, 0, 0, 0.16) 0px 8px 60px);
}

::selection {
  background: #381fd1;
  color: white;
  text-shadow: none;
}

body {
  background-color: var(--color1);
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 80px;
  padding-top: 80px;
  flex-direction: column;
  font-family: "Roboto Mono", monospace;
  overflow: hidde;

  .title_section {
    margin-bottom: 40px;
    position: relative;

    .title {
      font-size: 3.5rem;
      font-weight: 600;
      letter-spacing: -0.06em;
      line-height: 58px;
      text-align: center;
      font-family: "Roboto";
      color: var(--color7);
    }

    .sparkle {
      position: absolute;
      width: 60px;
      height: 77px;
      top: -20px;
      right: -40px;
    }

    .line {
      position: absolute;
      top: 49px;
      left: 142px;
      z-index: -1;
    }
  }

  .container {
    display: grid;
    width: 960px;
    height: 100%;
    gap: 20px;
    position: relative;
    grid-template:
      "a b"
      "a c"
      "d d"
      "e f"
      "g f"
      "h i"
      "h j"
      "k j"
      "l l";
    grid-template-columns: 1fr 1fr;

    .blob1 {
      position: absolute;
      width: 672px;
      top: -42px;
      left: -455px;
      z-index: -1;
    }

    .blob2 {
      position: absolute;
      width: 616px;
      bottom: -130px;
      right: -294px;
      z-index: -1;
    }

    section {
      border-radius: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      h1 {
        font-family: "Roboto Mono", monospace;
        font-size: 1rem;
        font-weight: 700;
        line-height: 22px;
        margin: 2rem 0px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--color7);
      }
      img {
        filter: var(--shadow);
      }
    }

    .div1 {
      grid-area: a / a / a / a;
      background-color: var(--color2);
      img {
        max-width: 360px;
        margin-top: 2rem;
      }
    }

    .div2 {
      grid-area: b / b / b / b;
      background-color: var(--color3);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;

      img {
        max-width: 378px;
        margin-top: 2rem;
      }
    }

    .div3 {
      grid-area: c / c / c / c;
      background-color: var(--color4);
      overflow: hidden;
      img {
        margin-top: auto;
        max-width: 360px;
        margin-bottom: -1px;
      }
    }

    .div4 {
      grid-area: d / d / d / d;
      background-color: var(--color5);
      overflow: hidden;
      position: relative;
      img {
        margin-top: 3rem;
        max-width: 1027px;
      }
      h1 {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 1rem;
      }
    }

    .div5 {
      grid-area: f / f / f / f;
      background-color: var(--color2);
      position: relative;

      img {
        max-width: 376px;
        margin-top: 2rem;
      }
      h1 {
        margin-top: 3.5rem;
      }

      .middle {
        position: absolute;
        top: 46%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 160px;
        height: 160px;
        border-radius: 36px;
        background-image: url("https://creatorspace.imgix.net/users/clcovc7dz0ajjo80ytv86igz6/rRfO1yjPzhPfM4bT-38D51E97-DCB9-44B0-8AFF-E2767F5C39C6.jpeg?w=300&h=300");
        background-size: cover;
        filter: var(--shadow);
      }
    }

    .div6 {
      grid-area: e / e / e / e;
      background-color: var(--color3);
      img {
        max-width: 376px;
      }
    }

    .div7 {
      grid-area: g / g / g / g;
      background-color: var(--color4);
      overflow: hidden;
      img {
        margin-top: auto;
        max-width: 360px;
        margin-bottom: -1px;
      }
    }

    .div8 {
      grid-area: h / h / h / h;
      justify-content: space-between;
      background-color: var(--color5);
      img {
        max-width: 360px;
        margin-top: 3rem;
      }
    }
    .div9 {
      grid-area: i / i / i / i;
      background-color: var(--color3);
      overflow: hidden;
      img {
        max-width: 376px;
        margin-bottom: -161px;
        margin-top: 0px;
      }
    }
    .div10 {
      grid-area: j / j / j / j;
      background-color: var(--color2);
      img {
        margin-top: 3rem;
        max-width: 360px;
      }
      h1 {
        margin-top: auto;
        margin-bottom: 2rem;
      }
    }
    .div11 {
      grid-area: k / k / k / k;
      background-color: var(--color3);
      img {
        max-width: 307px;
        margin-top: 2rem;
      }
    }
    .div12 {
      grid-area: l / l / l / l;
      background-color: var(--color5);
      overflow: hidden;
      position: relative;
      height: 375px;
      img {
        max-width: 900px;
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
      }
      h1 {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        top: 2rem;
      }
    }
  }
}

              
            
!

JS

              
                
              
            
!
999px

Console