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

              
                <main class="main">
	<section class="section" id="intro">
		<div class="container">
			<h1 class="animonItem">左からフェードイン</h1>
			<p class="animonItem" data-delay="200">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
		</div>
	</section>
	<section class="section" id="FadeInRight">
		<div class="container">
			<h1 class="animonItem" data-effect="fadeInRight" data-duration="4s">右からフェードイン</h1>
			<p class="animonItem" data-effect="fadeInRight" data-delay="200" data-duration="4s">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
		</div>
	</section>
	<section class="section" id="ScaleUp">
		<div class="container">
			<h1 class="animonItem" data-effect="scaleUp">アニメーション+拡大</h1>
			<p class="animonItem" data-delay="200" data-effect="scaleUp">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
		</div>
	</section>
	<section class="section" id="ScaleDown">
		<div class="container">
			<h1 class="animonItem" data-effect="scaleDown">アニメーション+縮小</h1>
			<p class="animonItem" data-effect="scaleDown" data-delay="400">Nulla pharetra diam sit amet nisl suscipit adipiscing. Nec sagittis aliquam malesuada bibendum. Sed egestas egestas fringilla phasellus faucibus scelerisque. Sapien faucibus et molestie ac feugiat sed lectus. Varius sit amet mattis vulputate enim nulla. Adipiscing vitae proin sagittis nisl. Diam ut venenatis tellus in metus vulputate eu scelerisque. Pellentesque eu tincidunt tortor aliquam nulla.</p>
		</div>
	</section>
	<section class="section" id="FadeIn">
		<div class="container">
			<h1 class="animonItem" data-effect="fadeIn">フェードイン</h1>
			<p class="animonItem" data-effect="fadeIn" data-delay="200">Orci ac auctor augue mauris augue neque gravida in. Euismod elementum nisi quis eleifend quam adipiscing vitae proin sagittis. Mattis molestie a iaculis at erat. Et tortor at risus viverra. Ac odio tempor orci dapibus ultrices in. At lectus urna duis convallis convallis tellus. Aliquet eget sit amet tellus cras adipiscing. Sit amet est placerat in egestas erat. Augue ut lectus arcu bibendum at varius vel pharetra vel. Nunc sed id semper risus in hendrerit gravida rutrum. Dolor sed viverra ipsum nunc aliquet bibendum enim facilisis.</p>
		</div>
	</section>
	<section class="section" id="FadeInDown">
		<div class="container">
			<h1 class="animonItem" data-effect="fadeInDown" data-delay="200">フェードインダウン</h1>
			<p class="animonItem" data-effect="fadeInDown">Magna etiam tempor orci eu lobortis elementum nibh tellus molestie. Ut sem nulla pharetra diam sit amet nisl suscipit. Feugiat nisl pretium fusce id velit ut tortor pretium viverra. Nam at lectus urna duis convallis convallis. Ut sem nulla pharetra diam sit amet nisl suscipit. Id ornare arcu odio ut sem nulla. Etiam dignissim diam quis enim lobortis scelerisque fermentum dui. Imperdiet sed euismod nisi porta lorem mollis aliquam ut porttitor. Eget arcu dictum varius duis. Accumsan sit amet nulla facilisi.</p>
		</div>
	</section>
	<section class="section" id="FadeInUp">
		<div class="container">
			<h1 class="animonItem" data-effect="fadeInUp">フェードインアップ</h1>
			<p class="animonItem" data-effect="fadeInUp" data-delay="200">Nisl suscipit adipiscing bibendum est ultricies integer quis auctor elit. Ornare lectus sit amet est placerat in egestas erat. Tristique nulla aliquet enim tortor. Non odio euismod lacinia at. Vestibulum morbi blandit cursus risus at. Orci eu lobortis elementum nibh tellus molestie nunc non blandit. Porta non pulvinar neque laoreet suspendisse interdum consectetur.</p>
		</div>
	</section>
</main>
              
            
!

CSS

              
                html {
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
*,
*:before,
*:after {
  box-sizing: inherit;
  padding: 0;
  margin: 0;
}
body {
  font-size: 100%;
  line-height: 1.48;
  background-color: #f2f2f2;
}

.container {
  width: 60rem;
  max-width: 88%;
  margin: 0 auto;
}


.section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 0;
}
.section:nth-of-type(2) {
  color: #ffffff;
  background-color: red;
}
.section:nth-of-type(3) {
  background-color: green;
}
.section:nth-of-type(4) {
  background-color: yellow;
}
.section:nth-of-type(5) {
  background-color: pink;
}
.section:nth-of-type(6) {
  color: #ffffff;
  background-color: blue;
}
.section h1 {
  font-size: 4rem;
  font-weight: 900;
}
.section p {
  font-size: 1.5rem;
}
.footer {
  padding: 2rem 0;
  color: #aaaaaa;
  background-color: #000000;
}
 Save

              
            
!

JS

              
                Animon.animon();

              
            
!
999px

Console