Pen Settings



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


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.


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.


                <!DOCTYPE html>
<html lang="en">
	<meta charset="UTF-8">
	<link rel="stylesheet" href="./custom.css"></link>
    <div class="ease-name">
      <h1  id="ease-in">PLAY TO ENJOY</h1>
    <div class="ease-name">
      <h1 id="ease-in-out">PLAY TO ENJOY</h1>
  <script src=""></script>
  <script src=""></script>



                header {
  display: grid;
  place-content: center;
  height: 100vh;
  background-color: #333;

h1 {
  color: #fff; /*お好きなフォントカラーを選んでください*/
  font-size: 20px; /*お好きなフォントサイズを選んでください*/
  font-family: "Times New Roman", Times, serif; /*お好きなフォントを選んでください*/
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  line-height: 1; /*line-heightなくしたほうがカッコ良くなります*/

.char {
  transform: translateY(100px);
  transition: transfrom 0.5s;
  /* transform: translateY(-100px); テキストを上から出したい時*/

#ease-in-out {
  margin-bottom: 20px;

div span {
  color: #fff;



                const easeIn = new SplitType("#ease-in"); /*テキストの分割*/
const easeInChar = document.querySelectorAll("#ease-in .char"); /*#ease-inの.charの取得*/
const easeInOut = new SplitType("#ease-in-out"); /*テキストの分割*/
const easeInOutChar = document.querySelectorAll("#ease-in-out .char"); /*#ease-in-outの.charの取得*/, {
  y: 0 /*テキストのY軸の操作*/,
  stagger: 0.05 /*テキスト間の遅延時間*/,
  delay: 0.2 /*アニメーションのスタートまでの遅延時間*/,
  duration: 1 /*アニメーションの時間*/,
  ease: SlowMo.ease.config(0.5, 0.9,true),
});, {
  y: 0 /*テキストのY軸の操作*/,
  stagger: 0.05 /*テキスト間の遅延時間*/,
  delay: 0.2 /*アニメーションのスタートまでの遅延時間*/,
  duration: 1 /*アニメーションの時間*/,
  ease: SlowMo.ease.config(0.5, 0.9,false),