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


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


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.


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.


    <blind style="--i: 1"></blind>
    <blind style="--i: 2"></blind>
    <blind style="--i: 3"></blind>
    <blind style="--i: 4"></blind>
    <blind style="--i: 5"></blind>
    <blind style="--i: 6"></blind>
    <blind style="--i: 7"></blind>
    <blind style="--i: 8"></blind>
    <blind style="--i: 9"></blind>
    <blind style="--i: 10"></blind>
    <blind style="--i: 11"></blind>
    <blind style="--i: 12"></blind>
    <blind style="--i: 13"></blind>
    <blind style="--i: 14"></blind>
    <blind style="--i: 15"></blind>
    <blind style="--i: 16"></blind>
    <blind style="--i: 17"></blind>
    <blind style="--i: 18"></blind>
    <blind style="--i: 19"></blind>
    <blind style="--i: 20"></blind>
      <svg class="peter" viewBox="0 0 228 237" fill="none" xmlns="" xmlns:xlink="">
        <circle class="peter__backdrop" cx="114" cy="123" r="110" fill="#C4C4C4" />
        <mask id="a" mask-type="alpha" maskUnits="userSpaceOnUse" x="4" y="13" width="220" height="220">
          <circle cx="114" cy="123" r="110" fill="#C4C4C4" />
        <g mask="url(#a)">
          <rect width="201" height="226" transform="matrix(-1 0 0 1 210 37)" fill="url(#b)" />
          <rect x="171" y="169.378" width="18" height="18" transform="rotate(-17.384 171 169.378)" fill="url(#c)" style="mix-blend-mode:soft-light" />
        <circle class="peter__border" cx="114" cy="123" r="112" stroke-width="8" />
          <pattern id="b" patternContentUnits="objectBoundingBox" width="1" height="1">
            <use xlink:href="#e" transform="scale(.0008)" />
          <image id="e" width="1243" height="1396" xlink:href="" />
    grab ↑ <br>
    and pull down ↓
    Based on
    <a href="">
      CSS Interactive Container Query Blinds
    by <strong>jh3y</strong>


                html {
  height: 100%;

body {
  --w: 15em;
  background: linear-gradient(
    to bottom,
    olivedrab 49%,
    maroon 49% 51%,
    darkolivegreen 51%
  min-height: 100%;
  display: grid;
    ". . ." 1fr
    ". w ." var(--w)
    ". i ." 1fr
    / 1fr 10em 1fr;

window {
  outline: thick outset brown;
  grid-area: w;
  background: silver;
  display: grid;
  grid-template: 1fr / 1fr;

container {
  align-content: start;
  contain: layout size style;
  display: grid;
  resize: vertical;
  overflow: hidden;
  min-height: 100%;
  position: relative;

container::before {
  content: "";
  position: absolute;
  right: 0.25em;
  top: 0;
  bottom: 0.25em;
  border-right: medium solid white;
  box-shadow: 1px 1px 0.125em black;
  z-index: 2;

container::after {
  content: "";
  position: absolute;
  right: 0.125em;
  bottom: 0.125em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 100%;
  background: maroon;
  z-index: 2;

blind {
  --b: calc(var(--w) / (20 + var(--n)));
  --n: 0;
  background: linear-gradient(to bottom, papayawhip, silver);
  height: var(--b);
  position: relative;
  z-index: 1;

face {
  width: 90%;
  height: auto;
  position: absolute;
  top: calc(var(--w) / 1.5);
  left: 50%;
  transform: translate3d(-50%, -50%, 0) scale(var(--s, 0));

@for $n from 1 through 50 {
  // css only
  @container (min-height: #{15em + ($n * 0.125)}) {
    blind {
      --n: #{$n};
    face {
      --s: #{$n * 0.02};

footer {
  grid-area: i;

p:first-child {
  text-align: right;

p {
  background: rgba(papayawhip, 0.8);
  padding: 0.25em;