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="grid-container main">
  <div class="grid-x">
    <div class="cell small-10 medium-3 medium-offset-9 expertise-section-right">
      <div class="expertise-image">
        <div class="background-video hide-for-small-only">
          <video src="" autoplay muted loop playsinline aria-hidden="true"></video>

<div class="trusted-partnerships">
  <div class="grid-container">
    <div class="grid-x overflow-hidden">
      <div class="cell medium-6 medium-offset-1 trusted-partnerships-header left-right delay-2">
        <h2 class="heading h2">
          Trusted partnerships
        <p class="big-copy">
          Partnership is at the heart of everything UNDP does. We offer a nearly universal presence across the world. We are determined to mobilize the means to implement the 2030 Agenda through a revitalized Global Partnership for Sustainable Development, with a focus on the poorest and most vulnerable.
        <button class="btn">
          Join Us

<div class="spacer">


  margin-top: 300px;

.trusted-partnerships {
    padding: 240px 0 170px;
    background-color: white;


        background: #F7F7F7;
        transition: background-color 0.5s ease;

    .big-copy {
        margin-top: 90px;

    .btn {
        margin-top: 68px;


.spacer {
  height: 100vh;

video {
  height: 20vh;

video {
  height: 40vh;

@media only screen and (min-width: 1025px) {
  video {
    height: 80vh;


  scrollTrigger: {
    trigger: '.expertise-section-right',
    start: "top top",
    end: () => 'center top+=' + document.querySelector('video').offsetHeight/2,
    pin: true,
    scrub: true,
    pinSpacing: false,
    invalidateOnRefresh: false,
    markers: true,