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

              
                <!DOCTYPE html>
<html lang="en" class="vf-no-js">

<head>
  <script>
    // Detect if JS is on and swap vf-no-js for vf-js on the html element
    (function(H) {
      H.className = H.className.replace(/\bvf-no-js\b/, 'vf-js')
    })(document.documentElement);
  </script>
  <title> | Visual Framework 2.0</title>

  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1, minimum-scale=1" name="viewport">

  <link rel="apple-touch-icon" sizes="180x180" href="https://dev.assets.emblstatic.net/vf/assets/vf-favicon/assets/apple-touch-icon.png">
  <link rel="icon" type="image/png" sizes="32x32" href="https://dev.assets.emblstatic.net/vf/assets/vf-favicon/assets/favicon-32x32.png">
  <link rel="icon" type="image/png" sizes="16x16" href="https://dev.assets.emblstatic.net/vf/assets/vf-favicon/assets/favicon-16x16.png">
  <link rel="manifest" href="https://dev.assets.emblstatic.net/vf/assets/vf-favicon/assets/site.webmanifest">
  <link rel="mask-icon" href="https://dev.assets.emblstatic.net/vf/assets/vf-favicon/assets/safari-pinned-tab.svg" color="#ffffff">
  <meta name="msapplication-TileColor" content="#ffffff">
  <meta name="theme-color" content="#ffffff">
  <link rel="stylesheet" href="https://dev.assets.emblstatic.net/vf/v2.0.0-beta.6/css/styles.css">
</head>

<body>
  <header class="vf-header">
    <header class="vf-global-header">

      <div class="vf-global-header__inner">

        <a href="http://www.embl.de" class="vf-logo">
          <img class="vf-logo__image" src="https://dev.assets.emblstatic.net/vf/v2.0.0-beta.6/assets/vf-logo/assets/logo.svg" alt="Visual Framework 2.0">
          <span class="vf-logo__text">Visual Framework 2.0</span>
        </a>

        <nav class="vf-navigation vf-navigation--global">
          <ul class="vf-navigation__list | vf-list--inline">
            <li class="vf-navigation__item">
              <a href="JavaScript:Void(0);" class="vf-navigation__link">services</a>
            </li>
            <li class="vf-navigation__item">
              <a href="JavaScript:Void(0);" class="vf-navigation__link">research</a>
            </li>
            <li class="vf-navigation__item">
              <a href="JavaScript:Void(0);" class="vf-navigation__link">training</a>
            </li>
            <li class="vf-navigation__item">
              <a href="JavaScript:Void(0);" class="vf-navigation__link">about us</a>
            </li>
          </ul>
        </nav>

      </div>

    </header>
  </header>

  <div class="vf-body">
    <section class="vf-intro | embl-grid embl-grid--has-centered-content">
      <div>
        <!-- empty -->
      </div>
      <div>
        <h1 class="vf-intro__heading vf-intro__heading--has-tag">Cancer <a href="JavaScript:Void(0);" class="vf-badge vf-badge--primary vf-badge--phases">beta</a></h1>
        <p class="vf-lede">Cancer is a generic term for lots of different diseases in which cells divide many more times than usual. This abnormal growth can affect many cell types in almost any part of the body.</p>
        <p class="vf-intro__text">Cancer is a multi-stage process. Normal cells begin to divide abnormally, spreading beyond their normal boundaries, and abnormal tissue growth causes swellings called tumours to form. Tumours can be benign – with no harmful effect on the body
          – or malignant, invading healthy tissue and interfering with normal bodily functions.</p>
        <p class="vf-intro__text">There are more than 100 types of cancer and symptoms vary depending on the type. <a class="vf-link" href="JavaScript:Void(0);">Read more about Cancer</a>.</p>
      </div>
    </section>
  </div>

  <footer class="vf-footer | vf-body">
    <div class="vf-footer__inner">
      <p class="vf-footer__notice">A description of a site or organisation and what its goals are.</p>
      <div class="vf-footer__links-group | vf-grid">
        <div class="vf-links">
          <h4 class="vf-links__heading">Category</h4>
          <ul class="vf-links__list | vf-list">
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">A link</a>
            </li>
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Another link</a>
            </li>
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Third link</a>
            </li>
          </ul>
        </div>
        <div class="vf-links">
          <h4 class="vf-links__heading">Category</h4>
          <ul class="vf-links__list | vf-list">
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Entry</a>
            </li>
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Entry</a>
            </li>
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Entry</a>
            </li>
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Entry</a>
            </li>
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Entry</a>
            </li>
          </ul>
        </div>
        <div class="vf-links">
          <h4 class="vf-links__heading">Category</h4>
          <ul class="vf-links__list | vf-list">
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Entry</a>
            </li>
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Entry</a>
            </li>
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Entry</a>
            </li>
          </ul>
        </div>
        <div class="vf-links">
          <h4 class="vf-links__heading">Category</h4>
          <ul class="vf-links__list | vf-list">
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Entry</a>
            </li>
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Entry</a>
            </li>
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Entry</a>
            </li>
          </ul>
        </div>
        <div class="vf-links">
          <h4 class="vf-links__heading">Category</h4>
          <ul class="vf-links__list | vf-list">
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Entry</a>
            </li>
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Entry</a>
            </li>
            <li class="vf-list__item">
              <a class="vf-list__link" href="JavaScript:Void(0);">Entry</a>
            </li>
          </ul>
        </div>

      </div>
      <section class="vf-footer__legal | vf-grid vf-grid__col-1">
        <ul class="vf-footer__list vf-footer__list--legal | vf-list vf-list--inline">
          <li class="vf-list__item">
            <a href="JavaScript:Void(0);" class="vf-list__link">Entry</a>
          </li>
          <li class="vf-list__item">
            <a href="JavaScript:Void(0);" class="vf-list__link">Entry</a>
          </li>
          <li class="vf-list__item">
            <a href="JavaScript:Void(0);" class="vf-list__link">Entry</a>
          </li>
        </ul>
        <p class="vf-footer__legal-text">Copyright © Your Organisation.</p>
        <p class="vf-footer__legal-text">Maybe an address too, 5555, Somewhere, Earth.</p>
        <p class="vf-footer__legal-text">Tel: +49 00 000 000.</p>
        <a class="vf-footer__link" href="JavaScript:Void(0);">Another entry</a>
      </section>
    </div>
  </footer>

  <script src="https://dev.assets.emblstatic.net/vf/v2.0.0-beta.6/scripts/scripts.js"></script>
</body>

</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console