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

              
                <h1>font-variant-numeric:</h1>

<p>font-variant-numeric 속성은 오픈타입(.otf) 글꼴에만 적용할 수 있다. 오픈타입 또는 시스템 글꼴을 사용하는 경우에 한하여 일부 형태만 지원하고 표시할 것이다.</p>
<dl>
  <dt>Value:</dt>
  <dd>normal | [ &lt;numeric-figure-values&gt; || &lt;numeric-spacing-values&gt; || &lt;numeric-fraction-values&gt; || ordinal || slashed-zero ]</dd>
</dl>

<table>
  <caption>font-variant-numeric demo</caption>
  <thead>
    <tr>
      <th scope="col">Value</th>
      <th scope="col">Description</th>
      <th scope="col">Render</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th scope="row">normal(initial)</th>
      <td>변형 X(초깃값)</td>
      <td style="font-variant-numeric: normal">한글 ABC abc 012 1st 1/2</td>
    </tr>
    <tr>
      <th scope="row">lining-nums</th>
      <td>수직 정렬 균등 O</td>
      <td style="font-variant-numeric: lining-nums">한글 ABC abc 012 1st 1/2</td>
    </tr>
    <tr>
      <th scope="row">oldstyle-nums</th>
      <td>수직 정렬 균등 X</td>
      <td style="font-variant-numeric: oldstyle-nums">한글 ABC abc 012 1st 1/2</td>
    </tr>
    <tr>
      <th scope="row">proportional-nums</th>
      <td>자간 통일 X</td>
      <td style="font-variant-numeric: proportional-nums">한글 ABC abc 012 1st 1/2</td>
    </tr>
    <tr>
      <th scope="row">tabular-nums</th>
      <td>자간 통일 O</td>
      <td style="font-variant-numeric: tabular-nums">한글 ABC abc 012 1st 1/2</td>
    </tr>
    <tr>
      <th scope="row">diagonal-fractions</th>
      <td>분수 표현(/)</td>
      <td style="font-variant-numeric: diagonal-fractions">한글 ABC abc 012 1st 1/2</td>
    </tr>
    <tr>
      <th scope="row">stacked-fractions</th>
      <td>분수 표현(𑁋)</td>
      <td style="font-variant-numeric: stacked-fractions">한글 ABC abc 012 1st 1/2</td>
    </tr>
    <tr>
      <th scope="row">ordinal</th>
      <td>서수 st, nd, rd, th</td>
      <td style="font-variant-numeric: ordinal">한글 ABC abc 012 1st 1/2</td>
    </tr>
    <tr>
      <th scope="row">slashed-zero</th>
      <td>숫자 0에 빗금</td>
      <td style="font-variant-numeric: slashed-zero">한글 ABC abc 012 1st 1/2</td>
    </tr>
  </tbody>
</table>

<p>
  <a href="https://drafts.csswg.org/css-fonts-3/#propdef-font-variant-numeric">W3C - font-variant-numeric</a>
</p>
              
            
!

CSS

              
                caption {
  font-size: 24px;
  font-weight: 700;
  text-align-last: left;
}
th, td {
  padding: 4px 8px;
  border-top: 1px solid #ddd;
}
th { background: #eee; }
td {
  white-space: nowrap;
  font-size: 24px;
  font-family: system-ui;
}
              
            
!

JS

              
                
              
            
!
999px

Console