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>
  <marquee direction="right" speed="normal" behavior="loop" >
     Ovde ide neka vest sto se prikazuje traka sa vestima koja ce non stop da se krece :D 
  </marquee>
  
  <marquee behavior="scroll" direction="right" scrollamount="1">Slow scroll speed</marquee>
  <marquee behavior="scroll" direction="right" scrollamount="6">srednje scroll speed</marquee>
  <marquee behavior="alternate" direction="right" scrollamount="6">alternate scroll speed</marquee>
  <marquee behavior="slide" direction="right" scrollamount="6">slide scroll speed</marquee>
<marquee behavior="scroll" direction="right" scrollamount="10">Medium scroll speed</marquee>
<marquee behavior="scroll" direction="right" scrollamount="20">Fast scroll speed</marquee>
</div>  
              
            
!

CSS

              
                
body {
  margin:0;
}
div {
  margin:20px 0 0 0;
}
marquee {
  -webkit-animation:  caption 50s linear 0s infinite;
  font-family:'Segoe ui';
  padding:20px 0;
  border: 1px solid #000;
background-color: #;
-webkit-box-shadow: inset 0px 2px 2px rgba(0, 0, 0, .5), 0px 1px 0px rgba(250, 250, 250, .2);
box-shadow: inset 0px 2px 2px rgba(0, 0, 0, .5), 0px 1px 0px rgba(250, 250, 250, .2);
-webkit-transition: background-color 350ms;
-moz-transition: background-color 350ms;
transition: background-color 350ms;
  overflow: hidden;
  overflow-x:-webkit-marquee;
  -webkit-marquee-direction: right;
  -webkit-marquee-style: scroll;
  -webkit-marquee-speed: normal;
  -webkit-marquee-increment: small;
  -webkit-marquee-repetition: 5;
  overflow-x: marquee-line;
  marquee-direction: forward;
  marquee-style: loop;
  marquee-speed: slow;
  marquee-play-count: 5;
  color:#28282a;
  background:#ffeb95;
}
              
            
!

JS

              
                
              
            
!
999px

Console