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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

              <div class="container-fluid">
    <div class="well" id="wrap-well">
    <h1 class="text-center">Edward Snowden</h1>
  <h4 class="text-center">The man who risked everything for our security</h4>

    <div class="thumbnail" id="well-img">
        <img class="img-responsive" src="https://www.techworm.net/wp-content/uploads/2016/02/Snowden-Citizenfour-large-702x336.jpg" alt="ed snowden">
        <div class="caption text-center">
          <p><em>"Bathtub falls and police officers kill more Americans than terrorism, yet we've been asked to sacrifice our most sacred rights for fear of falling victim to it."</em></p>
      <div id="content">
  <h1>A history of leaks and information</h1>

  <ul class="timeline">
    <li class="event" data-date="June 21, 1983">
      <p>Edward Joseph Snowden is born in Elizabeth City, North Carolina, U.S.</p>
    <li class="event" data-date="2013">
      <h3>Begins work for the NSA</h3>
      <p>Snowden is hired by an NSA contractor, Booz Allen Hamilton</p>    
    <li class="event" data-date="May 20, 2013">
      <h3>Leaves the NSA</h3>
      <p>Snowden flies to Hong Kong after leaving his job at the NSA </p>    
    <li class="event" data-date="June, 2013">
      <h3>Leaks classified documents</h3>
      <p>Snowden reveals thousands of classified NSA documents to journalists Glenn Greenwald, Laura Poitras, and Ewen MacAskill.</p>
        <li class="event" data-date="June 6, 2013">
      <h3><a href="https://www.theguardian.com/world/2013/jun/06/nsa-phone-records-verizon-court-order">Verizon</a></h3>
      <p>With a top-secret court order, the NSA collected the telephone records from millions of Verizon customers.</p>
        <li class="event" data-date="June 7, 2013">
      <h3><a href="https://www.washingtonpost.com/investigations/us-intelligence-mining-data-from-nine-us-internet-companies-in-broad-secret-program/2013/06/06/3a0c0da8-cebf-11e2-8845-d970ccb04497_story.html?hpid=z1&utm_term=.dfbcd4839cc1">Prism</a></h3>
      <p>The NSA accessed and collected data through back doors into US internet companies such as Google and Facebook with a program called Prism.</p>
        <li class="event" data-date="June 7, 2013">
          <h3><a href="https://www.theguardian.com/world/2013/jun/07/obama-china-targets-cyber-overseas">President Obama looking for cyber warfare</a></h3>
      <p>An 18-page presidential memo shows Obama ordering intelligence officials to draw up a list of overseas targets for cyberattacks.</p>
        <li class="event" data-date="June 21, 2013">
      <h3><a href="http://www.theguardian.com/uk/2013/jun/21/gchq-cables-secret-world-communications-nsa">Fiber-optic cable tap</a></h3>
      <p>Britain's GCHQ taps fiber-optic cables to collect and store global email messages, Facebook posts, internet histories, and calls, and then shares the data with the NSA.</p>
        <li class="event" data-date="August 2, 2013">
      <h3><a href="http://www.theguardian.com/business/2013/aug/02/telecoms-bt-vodafone-cables-gchq">GCHQ gains more control</a></h3>
      <p>Seven of the world's leading telecommunications companies provide GCHQ with secret, unlimited access to their network of undersea cables.</p>
    <li class="event" data-date="July 31, 2013">
      <h3><a href="http://www.spiegel.de/international/world/privacy-scandal-nsa-can-spy-on-smart-phone-data-a-920971.html">The NSA spies on mobile devices</a></h3>
      <p>The NSA has the ability to access user data for most major smartphones on the market, including Apple iPhones, BlackBerrys, and Google Android phones.</p>
    <li class="event" data-date="February 10, 2014">
      <h3><a href="https://firstlook.org/theintercept/article/2014/02/10/the-nsas-secret-role">NSA kills people based on phone metadata</a></h3>
      <p>The US's "targeted killing" program of drone strikes relies mostly on cellphone metadata and geolocation, rather than on-the-ground human intelligence. </p>

        <h3 class="text-center">I encourage you to read more about this brave individual on his <a href="https://en.wikipedia.org/wiki/Edward_Snowden">Wiki page</a>.</h3>
      <p class="small text-center">because, I know he caught your attention</p>
              /* Import */

@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700|Oswald:400,300,700);

/* Variables */

@background: #252827;

@color-primary: #4298C3;
@color-light: white;
@spacing: 50px;
@radius: 4px;

@date: 120px;
@dotborder: 4px;
@dot: 11px;
@line: 4px;

@font-title: 'Oswald', sans-serif;
@font-text: 'Source Sans Pro', sans-serif;

/* Base */

body {
  background: @background;

strong {
  font-weight: 600;

#content {
  margin-top: @spacing;
  text-align: center;  

/* Timeline */

.timeline {
  border-left: @line solid @color-primary;
  border-bottom-right-radius: @radius;
  border-top-right-radius: @radius;    
  background: fade(@color-light, 3%);
  font-family: @font-text;  
  margin: @spacing auto;  
  letter-spacing: 0.5px;   
  position: relative;
  line-height: 1.4em;
  font-size: 1.3em;   
  padding: @spacing;   
  list-style: none;
  text-align: left;  
  font-weight: 100;  
  max-width: 30%; 
  h1, h2, h3 {
   font-family: @font-title;
   letter-spacing: 1.5px;
   font-weight: 100;
   font-size: 1.4em;    
  .event {
    border-bottom: 1px dashed fade(@color-light, 10%);
    padding-bottom: (@spacing * 0.5);
    margin-bottom: @spacing;  
    position: relative;

    &:last-of-type { 
      padding-bottom: 0;
      margin-bottom: 0; 
      border: none;      

    &:before, &:after {
      position: absolute;
      display: block;
      top: 0;

    &:before {
      left: (((@date * 0.6) + @spacing + @line + @dot + (@dotborder * 2)) * 1.5) * -1;    
      content: attr(data-date);
      text-align: right;
      font-weight: 100;    
      font-size: 0.9em;
      min-width: @date;

    &:after {
      box-shadow: 0 0 0 @dotborder fade(@color-primary,100%);    
      left: (@spacing + @line + (@dot * 0.35)) * -1;        
      background: lighten(@background,5%);    
      border-radius: 50%;  
      height: @dot;
      width: @dot;
      content: "";
      top: 5px;
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.