Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <p>Font Awesomeの標準アニメーション</p>  
<div class="fa-3x">
    <i class="fas fa-spinner fa-spin"></i>
    <i class="fas fa-circle-notch fa-spin"></i>
    <i class="fas fa-sync fa-spin"></i>
    <i class="fas fa-cog fa-spin"></i>
    <i class="fas fa-spinner fa-pulse"></i>
    <i class="fas fa-skull fa-spin"></i>
  </div>

<p>Font Awesome Animationを使ったアニメーション</p>
<div class="icon-wrapper">
        <div class="fa-3x"><i class="fas fa-wrench faa-wrench animated faa-fast"></i></div>
        <div class="fa-3x"><i class="fas fa-sun faa-sun animated faa-rising"></i></div>
        <div class="fa-3x"><i class="fas fa-phone-alt faa-phone-alt animated faa-ring faa-fast"></i></div>
        <div class="fa-3x"><i class="fas fa-heart faa-heart animated faa-pulse"></i></div>
        <div class="fa-3x"><i class="fas fa-tint faa-tint animated faa-falling faa-slow"></i></div>
      </div>
<p>アニメーション速度の違い</p>
<div class="icon-wrapper">
<div class="fa-3x"><i class="fas fa-heart faa-heart animated faa-pulse"></i>
  <span>標準</span>
</div>
<div class="fa-3x"><i class="fas fa-heart faa-heart animated faa-pulse faa-slow"></i>
  <span>スロー</span>
</div>
<div class="fa-3x"><i class="fas fa-heart faa-heart animated faa-pulse faa-fast"></i>
  <span>速い</span>
</div>
</div>

              
            
!

CSS

              
                body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-height:100vh;
}
.icon-wrapper{
	display: flex;
	>.fa-2x,
	>.fa-3x{
		display: flex;
		flex-direction: column;
		padding:10px;
		span{
			display: inline-block;
			margin-top:10px;
			font-size:10px;
			text-align: center;
		}
	}
}
              
            
!

JS

              
                
              
            
!
999px

Console