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="c-sub-title js-text-animation">
  <p><strong>Mensen houden van authentieke verhalen.</strong> Ook van het verhaal van jouw merk. En als je het op de juiste manier vertelt, volgt je ideale klant vanzelf.</p>
  <p>Daarom verdiepen we ons eerst in je bedrijf en geven je verhaal vorm in <strong>je logo en huisstijl, op je website en alles daartussen. </strong>Telkens met een doordachte aanpak en verfijnde vormgeving.</p>


                @import url(',400&display=swap');

body { 
  font-family: "Signika Negative", sans-serif; 
  font-weight: 300;
  margin: 0;
  padding: 0 20px;

    font-size: 50px;
    will-change: transform;
.c-sub-title b, 
.c-sub-title strong{
  font-weight: bold;
  font-style: italic;
.c-sub-title p{
  margin-top: 48px;
.c-sub-title p:first-child{
   margin-top: 0px;


gsap.utils.toArray('.js-text-animation').forEach(textAnimation => {

  let splitTextTimeline = gsap.timeline();

//  textAnimation.querySelectorAll('p').forEach( p => {

    let mySplitText = new SplitText( textAnimation.querySelectorAll('p') , {
      type:"lines, words",
      linesClass: 'overflow-hidden',
      wordsClass: 'inline-block'

    gsap.set(mySplitText.lines, {
      opacity: 0,
      yPercent: 100
    });, {
        duration: 0.7,
        opacity: 100,
        yPercent: 0,
        stagger: 0.02,
        ease: "circ.out",
// });