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.


                <div class="info">
	<p>За допомогою правила <code>@keyframes</code> ми можемо створювати свторювати анімаційні ефекти використовуючи CSS.</p>
	<p>Нижче, показаний приклад такої анімації. Ми визначили початкову та кінцеву позицію тексту, та швидкість зміни цієї позиції.</p>

<div class="wrapper">
	<div class="box">
		<span>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod</span>
		<span>tempor incididunt ut labore et dolore magna aliqua.</span>


                * {
	box-sizing: border-box;

body {
	font-family: monospace;
	font-size: 15px;
	overflow: hidden;
	line-height: 1.45;

.info {
	padding: 6px;

code {
	font-weight: 700;
	color: #444;
	border-bottom: 2px solid #666;

.wrapper {
  background-color: #dcdcdc;

.box {
	width: 200%;
  height: 30px;
  position: absolute;
  overflow: hidden;
  animation: anim 5s linear infinite;
  font-weight: 700;

span {
  float: left;
  width: 50%;

@keyframes anim {
  0% { left: 0; }
  100% { left: -100%; }