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

              
                <div id="parent">
<table>
  <tr><th>City</th><th>Country</th><th>Note</th></tr>
  <tr><td>台北</td><td>台湾</td><td>活気にあふれた台湾最大の都市で経済政治文化の中心地で日本人となじみが深い</td></tr>
  <tr><td>バンコク</td><td>タイ</td><td>華やかな大都会の賑わいと、厳かな仏教文化が息づき、古今の歴史と文化が見事に調和した街並み</td></tr>
  <tr><td>VANCOUVER</td><td>Canada</td><td>BeautyfulVancounverCityIsSecondCapitalOfCanada</td></tr>
  <tr><td></td><td></td><td>↑WordBreakを設定すると英文も折り返す↑</td></tr>
</table>
</div>
              
            
!

CSS

              
                
td,th{
  border: 1px solid black;
  /*英文を途中で折り返す*/
  word-break: break-all;
}
body{
  border: 3px solid black;
  animation: slide 6s ease-in-out forwards alternate infinite ;
}
@keyframes slide {
  0%,15% {
    width:98%;
  }
  85%,100% {
    width: 200px;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console