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

              
                <div class="site">
  <div class="site-header">
    <h1 class="site-title">Swimfo.com</h1>
    <div class="site-navigation">
      <ul>
       
        <li><a href="#swimclubs">Local Swim Clubs</a></li>
        <li><a href="#tutorialsandvideos">Tutorials and Videos</a></li>
        <li><a href="#whyisswimmingimportant?">Why is swimming imortant?</a></li>
      </ul>
    </div><!-- .site-navigation -->
  </div><!-- .site-header -->

  <div class="content-wrapper">
    <div class="site-content">
      <h1>About</h1>

      <p>Swimming emerged as a competitive sport in the 1830s in England. In 1828, the first indoor swimming pool, St George's Baths, was opened to the public. By 1837, the National Swimming Society was holding regular swimming competitions in six artificial swimming pools, built around London. The sport grew in popularity and by 1880, when the first national governing body, the Amateur Swimming Association, was formed, there were already over 300 regional clubs in operation across the country.</p>

      <p>Swimfo.com is a helpful website that leads you to information on each swim stroke and tutorials on how to do the basics and skill's needed to be able to swim comptitively. We have professional coaches that would love to help teach you how to swim.</p>
      
      <h2 id="swimclubs">Local Swim Clubs</h2>
       <p>
There are many competitive swim clubs in the Cincinnati-Dayton area. But which one is right for you? There is a list of clubs and their information towards the bottom of the page. Picking the right swim club is important because you want to be able to get the right coaching that is going to work for you.</p>
      
      <h2 id="tutorialsandvideos">Tutorials and Videos</h2>
      <p>If you prefer to practice or learn by yourself, then we have many videos and tutorials that show you each stroke and the technique that goes along with it. It is important to have the right technique with each stroke so that you don't injure yourself while in the pool. Pay close attention to what the instructor is saying so that you can do the right thing and to be able to go fast.</p>
      
      <h2 id="whyisswimmingimportatnt?">Why is swimming important?</h2>
      <p>Swimming is important because in helps shape the mind and the body.
        It is both a physical and mental sport. Right before a race, if you are tearing yourself down and doubting yourself, you will not do well in your race. Your brain tells your body that you can't do it, and the body listens. The more you encourage and believe in yourself, the more likely you will achieve your goals and win your race. It is also a physical sport. You work your body both in and out of the water. You work on technique, skill, and speed in the pool. While out of the pool, you eat right, drink right, sleep right, and think right. Swimming works both the mind and the body at the same time. It wires your brain which makes the body change too. It puts you in a state of power, speed, and confidence. 
      
    </div><!-- .site-content -->
  </div><!-- .content-wrapper -->

  <div class="site-footer">
    <div class="column">
      <h3>Swim Clubs</h3>
      <ol>
        <li><a href="https://www.teamunify.com/Home.jsp">Cincinnati Marlins</a></li>
        <li><a href="team=oscmhttps://www.teamunify.com/Home.jsp">Mason Manta Rays</a></li>
        <li><a href="team=ohmmrhttp://www.ymca.net/" >YMCA</a></li>
        <li><a href="http://lakotahillsswimclub.com/">Lakota Hills</a></li>
        <li><a href="http://gowindwood.com/" >Windwood Swim and Tennis Club</a></li>
        <li><a href="http://www.teamusa.org/" >Team USA</a></li>
        <li><a href="http://www.collegeswimming.com/" >College Swimming</a></li>
      </ol>
    </div>

    <div class="column ">
      <h3>Tutorials and Videos</h3>
      <p><ol>
  <li><a href="https://www.youtube.com/watch?v=mS7daGYUaQI">Butterfly</a></li>
  <li><a href="https://www.youtube.com/watch?v=QGZ8rIy-YtI"> Breaststroke</a></li>
  <li><a href="https://www.youtube.com/watch?v=JghqyliWwb4"> Backstroke</a></li>
  <li><a href="https://www.youtube.com/watch?v=5HLW2AI1Ink"> Freestyle</a></li>
  <li><a href="https://www.youtube.com/watch?v=SONx52cyltI">Technique</a></li> <li><a href="https://www.youtube.com/user/SportsDVDs">Technique</a></li>
  </ol></p>
    </div>

    <div class="column last">
      <h3>Jobs</h3>
      <p>Knowing how to swim can lead to many job opportunities. Lifeguarding, coaching, and teaching swim lessons are all very good and important jobs. Knowing how to swim is a good skill to have, esspecially for these jobs.  </p>
    </div>

  </div><!-- .site-footer -->
</div><!-- .site -->
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro);
/*
Website Name: One Column Layout
Description: A one column layout for a website.
Author(s): Your Name(s)...

This site is for educational purposes in connection with the Girl Scouts of Western Ohio. All image rights are retained solely by the original sources.
*/

/* =Structure
---------------------------*/
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  background-color: dodgerblue;
  padding: 40px;
  font-size: 16px;
  line-height: 26px;
}
.site {
  background-color: white;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
}

/* =Elements
---------------------------*/
img {
  max-width: 100%;
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 26px;
}
p {
  margin-bottom: 26px;
}
p:last-child {
  margin-bottom: 0;
}

/* =Header
---------------------------*/
.site-header {
  padding: 40px;
  text-align: center;
  background-image: url(https://www.sport.ox.ac.uk/wp-content/uploads/2012/08/Untitled_Panorama1wer_copy-625x350.jpg);
  background-position: 50%;
  background-size: 100%;
}
.site-title {
  margin: 0;
  color: white; 
  font-size: 35px;
}
@media (min-width: 800px) {
  .site-title {
    float: left;
  }
}

/* =Navigation
---------------------------*/
.site-navigation ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.site-navigation li {
  display: inline-block;
}
.site-navigation a {
  display: block;
  text-decoration: none;
  font-weight: 700;
  color: #000;
  padding: 0 20px;
}
.site-navigation a:hover {
  color: #4cacbe;
}

@media (min-width: 800px) {
  .site-navigation {
    float: right;
  }
  .site-navigation a {
    padding: 0 0 0 20px;
    color: white;
    font-size: 20px;
    font-weight: normal; 
  } 
}

/* =Content
---------------------------*/
.content-wrapper {
  padding: 40px;
}

/* =Footer
---------------------------*/
.site-footer {
  background-color: #333;
  color: white;
  overflow: hidden;
  padding: 40px;
}
.site-footer a {
  color: white;
}
@media (min-width: 800px) {
  .site-footer {
    clear: both;
  }
  .site-footer .column {
    width: 32%;
    float: left;
    padding-right: 2%;
    margin-bottom: 2%;
 
  }
  .site-footer .column.last {
    padding-right: 0;
  }
}

/* Crafted with love at Sparkbox */
              
            
!

JS

              
                
              
            
!
999px

Console