Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

HTML

              
                <link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

<body>
<div class="container-fluid" style="background-color:#E5E5E5;width:80%">
  <h1 style="text-align:center;color:brown"><u>Diana Nyad</u></h1>
  <h3 style="text-align:center;font-family:lobster">A story of extra-ordinary passion and perseverance</h3>
  <div class="main">
  <p>She is an American author, Journalist, motivational speaker and long distanced swimmer. In September,2013 Diana created a history, showed an exemplary courage, passion, endurance by being the first person to swim from Cuba to Florida without a protective cage in nearly 53 hours. She was accompanied by 35 crew members including divers to watch for sharks. The swim was a long-awaited triumph for Nyad, who was making her fifth attempt since 1978 and her fourth since turning 60. So at 64 She made it clear if there is a will, there is a way. With this swim she broke Penny Palfrey's record for the farthest anyone has managed on the trek without a shark cage. In 1997, Australian Susie Maroney completed the swim from within a shark cage. She was 22 at the time.</p>
<p>The swim wasn't easy.At one point, she was vomiting because she had so much salt water in her system and was shivering. She sang lullabies to help her relax. The first four tries were marked by gut-wrenching setbacks; if the rough, strength-sapping seas didn't force her to quit, an hours-long asthma attack or paralyzing and excruciating jellyfish stings did. But for this swim, besides donning a suit meant to protect her against her jellyfish nemesis, she wore a special mask to prevent jellyfish stings to her tongue, a key factor in her failed attempt last year. Nyad, who was 29 when she first tried the swim, said last week that she wanted to show that "you can dream at any age." She nurtured her dream for 35 years and she tried time to time, failed but never gave up till she achieved it.</p>
    <div style="background-color:#FFFFFF">
<img class="img-edit"  src="https://wnninterviewsociety.files.wordpress.com/2013/09/diane-nyad-los-angeles-times.jpeg" alt="photo of Diana Nyad"/>
    <figcaption style="text-align:center"><i style="color:red">Among the fans - Nyad completing the epic swim of Cuba to Florida</i></figcaption>
  </div>
    <br>
    <p><u><b>Here are some key points on Diana Nyad</b></u></p>
    <ul>
      <li>born on August 22, 1949</li>
      <li> In June 1974, Nyad set a women's record of 8 hours, 11 minutes in the 22-mile (35 km) Bay of Naples race</li>
      <li>Gained national attention when - </li>
      <ol>
        <li>In 1975 she swam around Manhattan (28 mi or 45 km)</li>
        <li>In 1979 she swam from North Bimini, The Bahamas, to Juno Beach, Florida (102 mi (164 km)</li>
        <li>In 2013, at age 64 swam from Cuba to Florida (Havana to Key West), 180 km without the aid of a shark cage</li>
      </ol>
      <li>Nyad was also once ranked thirteenth among US women squash players</li>
      <li>She dreamed of swimming in the 1968 Summer Olympics, but in 1966 she spent three months in bed for heart infection and hence lost speed</li>
      <li>Nyad has written four books:</li>
      <ol><li>Other Shores - about her life and distance swimming</li>
        <li>Basic Training for Women </li>
        <li>Boss of Me - The Keyshawn Johnson Story (1999) about an NFL wide-receiver</li> 
        <li>Find a Way - One Wild and Precious Life</li>
        
 </ol>
      <li>She has also written for The New York Times, Newsweek magazine and other publications</li>
      <li>formerly hosted the public radio program "The Savvy Traveler</li>
        <li>she was the subject of a short documentary "Diana" by the digital channel WIGS in 2012</li>
        <li>She was also a regular contributor to the CBS News television show Sunday Morning</li>
    </ul>
    <div class="quote">
      <p style="text-align:center">Diana says <i>"Never Ever Give Up"</i></p>
      <p style="text-align:right;font-size:16px">-"Find a way"</p>
    </div>
    <p>For further knowledge on this awesome lady please follow her <a href="https://www.youtube.com/watch?v=Zx8uYIfUvh4" target="_blank">inspirational TED talk</a>.</p>
  </div>
  <br>
  <div class="col-xs-12 text-right">
   <span class="glyphicon glyphicon-pencil icon-above"></span>
   Created By <strong>Scodec</strong>
</div>
  
</div>
</body>
              
            
!

CSS

              
                .main{
  width:80%;
  height:80%;
  background-color:#b0e0e6;
  padding:10px;
  margin:auto;
  position:relative;
  border-radius:10px;
}

.img-edit{
  height:80%;
  width:100%;
  padding:10px;
}

.quote{
  width:60%;
  height:40%;
  font-size:32px;
  margin:auto;
  border-radius:20px;
  font-family:lobster;
  color:brown;
}
span.icon-above {
    position: absolute;
    top: -9px;
}

              
            
!

JS

              
                
              
            
!
999px

Console