cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation


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.

              <link href="https://fonts.googleapis.com/earlyaccess/mplus1p.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/earlyaccess/roundedmplus1c.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/earlyaccess/mplus1p.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/earlyaccess/hannari.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/earlyaccess/kokoro.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/earlyaccess/sawarabimincho.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/earlyaccess/sawarabigothic.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/earlyaccess/notosansjapanese.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/earlyaccess/nicomoji.css" rel="stylesheet" />

<section class="section">
  <div class="container">
    <div class="field">
      <div class="columns">
        <div class="column">
          <form name="myForm">
            <label class="label">表示してるフォント</label>
            <p class="control has-icons-left">
              <span class="select">
              <select name="mySelect" id="font_name">
                <option value="wf-mplus1p">m+1p</option>
                <option value="wf-roundedmplus1c">Rounded M+1c</option>
                <option value="wf-hannari">はんなり明朝 Hannari</option>
                <option value="wf-kokoro">こころ明朝 Kokoro</option>
                <option value="wf-sawarabimincho">さわらび明朝 Sawarabi Mincho</option>
                <option value="wf-sawarabigothic">さわらびゴシック Sawarabi Gothic</option>
                <option value="wf-notosansjapanese">Noto Sans Japanese</option>
                <option value="wf-nicomoji">ニコモジ Nico Moji</></option>
              <span class="icon is-small is-left">
                <i class="fa fa-font"></i>
      <div class="columns">
        <div class="column">
          <div id="div_font" class="wf-mplus1p">
            <p class="title">選ぶとフォントが切り替わるよ。</p>
            <div class="content">
                <li>AWS Support Japan様からも表彰をいただいています</li>
                <li>「AWS Partner Summit 2017 Japan」で「2016年AWSサポート特別賞」を受賞しました</li>
              .wf-mplus1p { font-family: "Mplus 1p"; }
.wf-roundedmplus1c { font-family: "Rounded Mplus 1c"; }
.wf-hannari { font-family: "Hannari"; }
.wf-kokoro { font-family: "Kokoro"; }
.wf-sawarabimincho { font-family: "Sawarabi Mincho"; }
.wf-sawarabigothic { font-family: "Sawarabi Gothic"; }
.wf-notosansjapanese { font-family: "Noto Sans Japanese"; }
.wf-nicomoji { font-family: "Nico Moji"; }
              var event = document.getElementById('font_name');
event.onchange = function() {
  var font_name = document.myForm.mySelect.value;
  // console.log(font_name);
  // document.getElementById("title").innerHTML = font_name;
  document.getElementById("div_font").className = font_name;

Loading ..................