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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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.


                <section class="section">
<div class="container">
  <div class="columns">
    <div class="column">
      <h1 class="title">micron.jsを使ったデモ</h1>
      <h3 class='subtitle'># data属性のみでアニメーションを付ける場合</h3>
      <div id="buttons">
        <a class="button is-primary"  data-micron="bounce">bounce</a>
        <a class="button is-link" data-micron="shake">shake</a>
        <a class="button is-info" data-micron="tada">tada</a>
        <a class="button is-success" data-micron="flicker">flicker</a>
        <a class="button is-warning" data-micron="squeeze">squeeze</a>
        <a class="button is-danger" data-micron="pop">pop</a>
      <div id="bind">
        <h3 class='subtitle'># 他要素と連携させる場合</h3>
        <a class="button is-success" data-micron="pop" data-micron-bind="true" data-micron-id="me">Click ME</a>
        <i class="fas fa-address-book fa-4x" id='me'></i>
      <div id="jsaction">
        <h3 class='subtitle'># Javascriptで処理を書いた場合</h3>
        <a class="button is-link" id="clickMe"><i class="fab fa-js-square" id="ijs"></i> Click ME</a>






$("#clickMe").click(() => {