Pen Settings

HTML

CSS

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

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="wrapper">
  <div class="inner">
    <p class="head">太さ</p>
    <p class="note">- wght(太さ)を「100」に設定</p>
    <p class="text wght1">evoworx</p>
    <p class="note">- wght(太さ)を「500」に設定</p>
    <p class="text wght2">evoworx</p>
    <p class="note">- wght(太さ)を「900」に設定</p>
    <p class="text wght3">evoworx</p>
  </div>
  <div class="inner">
    <p class="head">幅</p>
    <p class="note">- wdth(幅)を「62」に設定</p>
    <p class="text wdth1">evoworx</p>
    <p class="note">- wdth(幅)を「90」に設定</p>
    <p class="text wdth2">evoworx</p>
    <p class="note">- wdth(幅)を「125」に設定</p>
    <p class="text wdth3">evoworx</p>
  </div>
  <div class="inner">
    <p class="head">太さ&幅</p>
    <p class="note">- wght(太さ)を「800」、wdth(幅)を「70」に設定</p>
    <p class="text mix1">evoworx</p>
    <p class="note">- wght(太さ)を「100」、wdth(幅)を「120」に設定</p>
    <p class="text mix2">evoworx</p>
    <p class="note">- wght(太さ)を「500」、wdth(幅)を「95」に設定</p>
    <p class="text mix3">evoworx</p>
  </div>
  <div class="inner">
    <p class="head">アニメーション</p>
    <p class="note">- wght(太さ)が「100〜800」の間をアニメーションするように設定</p>
    <p class="text anime1">evoworx</p>
    <p class="note">- wdth(幅)が「70〜120」の間をアニメーションするように設定</p>
    <p class="text anime2">evoworx</p>
    <p class="note">- wght(太さ)が「900〜100」の間、wdth(幅)が「125〜62」の間をアニメーションするように設定</p>
    <p class="text anime3">evoworx</p>
  </div>
</div>
              
            
!

CSS

              
                body {
  background: #fdfe33;
  font-feature-settings: "palt";
}

.wrapper {
  margin: 0 auto;
  width: 80%;
}

.inner {
  padding: 60px 0 50px;
  
  & + .inner {
    border-top: 1px solid #000;
  }
}

.head {
  background: #000;
  color: #fff;
  display: inline-block;
  font-size: 22px;
  padding: 6px 10px;
  margin: 0 0 35px;
}

.note {
  font-size: 14px;
  line-height: 1.6;
  
  .text + & {
    margin: 25px 0 0;
  }
}

.text {
  font-family: "Archivo";
  font-size: 50px;

  &.wght1 {
    font-variation-settings: "wght" 100;
  }
  
  &.wght2 {
    font-variation-settings: "wght" 500;
  }

  &.wght3 {
    font-variation-settings: "wght" 900;
  }

  &.wdth1 {
    font-variation-settings: "wdth" 62;
  }
  
  &.wdth2 {
    font-variation-settings: "wdth" 90;
  }

  &.wdth3 {
    font-variation-settings: "wdth" 125;
  }

  &.mix1 {
    font-variation-settings: "wght" 800, "wdth" 70;
  }

  &.mix2 {
    font-variation-settings: "wght" 100, "wdth" 120;
  }

  &.mix3 {
    font-variation-settings: "wght" 500, "wdth" 95;
  }
  
  &.anime1 {
    animation: anime1 2s linear infinite;
  }
  
  &.anime2 {
    animation: anime2 2s linear infinite;
  }

  &.anime3 {
    animation: anime3 2s linear infinite;
  }
}

@keyframes anime1 {
  0% {font-variation-settings: 'wght' 100, "wdth" 100;}
  50% {font-variation-settings: 'wght' 800, "wdth" 100;}
  100% {font-variation-settings: 'wght' 100, "wdth" 100;}
}

@keyframes anime2 {
  0% {font-variation-settings: 'wght' 100, "wdth" 70;}
  50% {font-variation-settings: 'wght' 100, "wdth" 120;}
  100% {font-variation-settings: 'wght' 100, "wdth" 70;}
}

@keyframes anime3 {
  0% {font-variation-settings: 'wght' 900, "wdth" 125;}
  50% {font-variation-settings: 'wght' 100, "wdth" 62;}
  100% {font-variation-settings: 'wght' 900, "wdth" 125;}
}
              
            
!

JS

              
                
              
            
!
999px

Console