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.


                <div class="video-container">
  <video autoplay loop>
    <source src="" type="video/mp4">Your browser does not support the video tag. I suggest you upgrade your browser.

  <div class="animations">
    <div class="text-holder">
      <span id="quote1">No cost no fee web based</span>
      <span id="quotation1">Transportation management solution</span>

    <div class="text-holder">
      <span id="quote2">One Site to see </span>
      <span id="quotation2">All your rates</span>

    <div class="text-holder">
      <span id="quote3">Keep your carrier relationships + </span>
      <span id="quotation3">Gain Access to hundreds of new ones </span>
  <div class="watch-now">
    <a href="#" class="watch-now-button">
      Watch Now


                // Homepage edits Jan 2016
.animations {
  font-family: 'Open Sans', sans-serif;
  color: white;
  font-weight: 300;
  text-align: center;
  .text-holder {
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    visibility: hidden;

.video-container {
  position: relative;
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(#204081,.4);

video {
  width: 100%;
  height: auto;

.watch-now {
  position: absolute;
  bottom: 150px;
  left: 0;
  width: 100%;
  text-align: center;


                var tl = new TimelineMax;
var mySplitText = new SplitText("#quote1", {type:"words, chars"}), 
mySplitText2 = new SplitText("#quotation1", {type: "words, chars"}), 
chars = mySplitText.chars,
chars2 = mySplitText2.chars;

var chars3 = chars.concat(chars2); 

var mySplitText4 = new SplitText("#quote2", {type:"words, chars"}), 
mySplitText5 = new SplitText("#quotation2", {type: "words, chars"}), 
chars4 = mySplitText4.chars,
chars5 = mySplitText5.chars;

var chars6 = chars4.concat(chars5); 

var mySplitText7 = new SplitText("#quote3", {type:"words, chars"}), 
mySplitText8 = new SplitText("#quotation3", {type: "words, chars"}), 
chars7 = mySplitText7.chars,
chars8 = mySplitText8.chars;

var chars9 = chars7.concat(chars8); 
tl.set([chars, chars2, chars3], { visibility: "visible" })
  .staggerFrom(chars, 1, { delay: 1, opacity:0, ease:Back.easeOut }, 0.007, "first")
  .staggerFrom(chars2.reverse(), 1, { delay: 1, opacity: 0, ease: Back.easeOut },0.009, "first")
  .staggerTo(chars3, .1, { opacity: 0, ease: Back.easeIn }, .01, "first+=4")
  .set([chars4, chars5, chars6], { visibility: "visible" })
  .staggerFrom(chars4, 1, { delay: 1, opacity:0, ease:Back.easeOut }, 0.01, "second")
  .staggerFrom(chars5.reverse(), 1, { delay: 1, opacity: 0, ease: Back.easeOut }, 0.02, "second")
  .staggerTo(chars6, .1, { opacity: 0, ease: Back.easeIn }, .01, "second+=4")
  .set([chars7, chars8, chars9], { visibility: "visible" })
  .staggerFrom(chars7, 1, { delay: 1, opacity:0, ease:Back.easeOut }, 0.01, "third")
  .staggerFrom(chars8.reverse(), 1, { delay: 1, opacity: 0, ease: Back.easeOut }, 0.01, "third")
  .staggerTo(chars9, .1, { opacity: 0, ease: Back.easeIn }, .01, "third+=4", allDone);

function allDone() {
  tl.restart(); // Keep playing the text animation