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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

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

              
                

<html lang="en">
 

  <head>
    <title>VetRanch</title>
   <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <link type="text/css" rel="stylesheet"  href="style.css">
    <style type="text/css">
      
    </style>
  </head>
  <body >
    <header>
     
      <nav> 
        <ul  style=" list-style: none;" id="left-nav">
          <li><a href="#Story">Story</a></li>
          <li><a  href="#Doctors">Doctors</a></li>
          
        </ul>
        <img src="https://65.media.tumblr.com/616588d0b7d0b94263f4724a78351945/tumblr_o9ch2g07Bw1uyu9m3o3_1280.jpg" alt="Banner Image" class= "center img-responsive">
        <ul style="list-style: none;" id="right-nav">
          <li><a href="#Links">Links</a></li>
          <li><a href="#Footer">Footer</a></li>
        </ul>
      </nav>
      
    </header>
    
      
        <img src="https://scontent-lhr3-1.xx.fbcdn.net/v/t1.0-9/14089096_1083293908453213_5645405637179692439_n.jpg?oh=3cd19ef9415481861401d775d4f0db36&oe=5888108F" alt="happy doggo" class="doggie img-responsive">
          
    <h1><a id="Story" href="#left-nav">Story</a></h1>
          <p>Vet Ranch is a YouTube Channel created by Dr. Matt Carriker in 2014. Since then many animals were saved thanks to the help of vets and channel subscribers that donated money to help with animal care.</p> 
   
    
    
 
  
  <h2><a id="Doctors" href="#left-nav">Doctors</a></h2>
  
  <ul class="doctors-list" style="list-style: none;"> 
    <li><img src="https://i.ytimg.com/vi/ar-benL_328/maxresdefault.jpg" class=" image-responsive" alt="Matt Carriker"><p>Dr Matt Carriker attended Texas A&M College of Veterinary Medicine in College Station and graduated in 2012. Nowadays he works in San Antonio, TX. In 2014 he decided to start YouTube channel Vet Ranch devoted to helping animals that face threat of putting down. He takes animals from shelters, treats them and help them find forever homes. </p> </li>
    <li><img src="https://i.ytimg.com/vi/xUXIHEp1iIY/maxresdefault.jpg" class="image-responsive" alt="Karri McCreary"> <p> Dr Karri McCreary joined Vet Ranch in June 2015. She went to the same school as Dr Matt but graduated in 2008. She owns a small practice in North East Texas </p></li>
    <li><img src="http://www.greenvilleanimalhospital.com/images/img-judd.jpg" class="image-responsive" alt="Judd McCreary"><p> Dr Karri's husband. He shows up on the Vet Ranch channel from time to time supporting his wife and helping animals. He absolutely loves chihuahuas</p></li>
  </ul>
  
  <h2><a id="Links" href="#right-nav">Links</a></h2>
  <ul class="links-list" style="list-style: none;">
    
    <li style="position: relative; left: 0; top: 0;"><a href="https://www.youtube.com/channel/UCXSCm3S2XZHLBz8kH0N5Heg" target="_blank"><img src="https://i.ytimg.com/vi/LPdo4UtUkuQ/maxresdefault.jpg" class="image-responsive" alt="YouTube">
 <img src="https://lh5.ggpht.com/jZ8XCjpCQWWZ5GLhbjRAufsw3JXePHUJVfEvMH3D055ghq0dyiSP3YxfSc_czPhtCLSO=w300" alt="YT" style="position: absolute; top: 120px; right: 130px; height: 100px; width: 100px;">
      </a></li>
    
    <li style="position: relative; right: 0; top: 0;"><a href="https://www.facebook.com/VetRanch/?fref=ts" target="_blank"><img src="https://scontent-lhr3-1.xx.fbcdn.net/v/t1.0-9/14670717_1133606770088593_8336902363898262859_n.jpg?oh=420881787854e8b974fb9b5fbd25d52e&oe=58CE11A8" class="image-responsive" alt="Facebook"><img src="https://www.facebook.com/images/fb_icon_325x325.png" alt="fb" style="position: absolute; top: 120px; right: 145px; height: 75px; width: 75px;">
      </a></li>
   
    <li style="position: relative; left: 0; top: 0;"><a href="https://www.instagram.com/vet_ranch/?hl=en" target="_blank"><img src="https://scontent-lhr3-1.xx.fbcdn.net/v/t1.0-9/14502685_1112159018900035_3689004184955018859_n.jpg?oh=1e7b9021746f742675ff9242989231d3&oe=58BCF460" class="image-responsive" alt="Instagram"><img src="https://lh3.googleusercontent.com/aYbdIM1abwyVSUZLDKoE0CDZGRhlkpsaPOg9tNnBktUQYsXflwknnOn2Ge1Yr7rImGk=w300" alt="insta" style="position: absolute; top: 120px; right: 145px; height: 75px; width: 75px;">
      </a></li>
   
    <li style="position: relative; left: 0; top: 0;"><a href="http://vetranch.org/" target="_blank"><img src="https://scontent-lhr3-1.xx.fbcdn.net/v/t1.0-9/5750_916738148442124_7573417257782527108_n.jpg?oh=aa97a050bdcb6bb691adcf2114ad6891&oe=58BC4928" class="image-responsive" alt="Official-website"><img src="https://yt3.ggpht.com/-1r1BMTocC8U/AAAAAAAAAAI/AAAAAAAAAAA/dQaX2f4zxJs/s900-c-k-no-mo-rj-c0xffffff/photo.jpg" alt="vr" style="position: absolute; top: 120px; right: 145px; height: 75px; width: 75px;">
      </a></li>
  
  </ul>
    
    <h2><a id="Footer" href="#right-nav">Footer</a></h2>
    <p> 2016. Made by Milena. </p>
  </body>
              
            
!

CSS

              
                body {
  background-color: #000 !important;
}
nav ul{
  background-color: #4C4B50;
  text-align: center;
  padding: 0px;
  margin: 0px;
  
}
nav li {
  display :inline-block;
  font-size : 2em;
  line-height: 93px;
  padding-left: 30px;
  padding-right:30px;
  background-color: #F5EDEC;
  width: 206px;
  margin: -5px;
  }
nav a:hover {
  color: #fff ;
  text-decoration: none;
 
}
nav a {
  color: #C4422B;
  display: block;
}

nav li:hover {
  background-color: #000 ;
}

#right-nav {
  float: right;
}
#left-nav {
  float: left;
}

.doggie {
  
 height: 500px;
    width: 780px;
  display: block;
  margin: 0 auto;
  position: relative;
  filter: brightness(56%);
  top: 90px;
  
  border: 3px solid #8B0000;
    
}


img.center {
  display: inline-block;
  vertical-align: middle;
  width: 41%;
  
  
}


.img-responsive {
  max-width: 100%
  height: auto;
  display: block; 
}

.doctors-list img {
  width: 300px;
  height: 230px;
  padding-bottom: 30px;
  padding-right: 30px;
  padding-bottom: 30px;
  padding-top: 30px;
}

.doctors-list p {
  width: 450px;
  display: inline-block;
  color: #fff;
  
}

h2 a {
  color: #C4422B;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 2.5em;
}
h2 a:hover {
  text-decoration: none;
  color: #fff;
}

.links-list img {
  width:200px;
  height: 200px;
  margin-left: auto;
  margin-right: auto;
}
.links-list li {
  display: inline-block; 
  padding-right: 20px; 
  
  
}
              
            
!

JS

              
                
              
            
!
999px

Console