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>
	<head>
  	<meta charset="utf-8">
    <title>Property Search | alpha </title>
    <link rel="stylesheet" href="css/normalize.css">
    <link href='https://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="css/main.css">
  </head>
  <body>
  	<header>
    	<a href="index.html" id="logo">
  			<h1>Property Search</h1>
      	<h2>alpha</h2>
      </a>
      <nav>
      	<ul>
        	<li><a href="Tenant.html" class="selected">Tenant</a></li>
          <li><a href="Landlord.html">Landlord</a></li>
          <li><a href="Blog.html">Blog</a></li>
          <li><a href="Advice.html">Advice</a></Li>
          <li><a href="About.html">About</a></li>
          <li><a href="Contact.html">Contact</a></li>
        </ul>
      </nav>
    </header>
    <div id="wrapper">
      <section>
        <ul id="gallery">
          <li>
            <a href="Images/img1/Building.jpg">
              <img src="https://media-cdn.tripadvisor.com/media/photo-s/01/e1/70/7a/sunset.jpg" alt="">
              <p>Building from outside.</p>
            </a>
          </li>
          <li>
            <a href="Images/img1/Lounge.jpg">
              <img src="https://media-cdn.tripadvisor.com/media/photo-s/01/e1/70/7a/sunset.jpg" alt="">
              <p>Lounge area</p>
            </a>
          </li>
          <li>
            <a href="Images/img1/Lounge2.jpg">
              <img src="https://media-cdn.tripadvisor.com/media/photo-s/01/e1/70/7a/sunset.jpg" alt="">
              <p>Lounge area 2</p>
            </a>
          </li>
          <li>
            <a href="Images/img1/Kitchen.jpg">
              <img src="https://media-cdn.tripadvisor.com/media/photo-s/01/e1/70/7a/sunset.jpg" alt="">
              <p>Kitchen</p>
            </a>
          </li>
          <li>
            <a href="Images/img1/Bathroom.jpg">
              <img src="https://media-cdn.tripadvisor.com/media/photo-s/01/e1/70/7a/sunset.jpg" alt="">
              <p>Bathroom</p>
            </a>
          </li>
          <li>
            <a href="Images/img1/Bedroom 1.jpg">
              <img src="https://media-cdn.tripadvisor.com/media/photo-s/01/e1/70/7a/sunset.jpg" alt="">
              <p>Second Bedroom</p>
            </a>
          </li>
          <li>
            <a href="Images/img1/Bedroom 2.jpg">
              <img src="https://media-cdn.tripadvisor.com/media/photo-s/01/e1/70/7a/sunset.jpg" alt="">
              <p>Master Bedroom</p>
            </a>
          </li>
          <li>
            <a href="Images/img1/Floor Plan.jpg">
              <img src="https://media-cdn.tripadvisor.com/media/photo-s/01/e1/70/7a/sunset.jpg" alt="">
              <p>Floorplan</p>
            </a>
          </li>
        </ul>
      </section>
      <footer>
        <a href="https://twitter.com">
          <img src="Images/twittericon.jpg" alt="Twitter Logo" class="social-icon">
        </a>
        <a href="https://facebook.com">
          <img src="Images/facebookicon.jpg" alt="Facebook Logo" class="social-icon">
        </a>
        <p>&copy; 2014 Property Search.</p>
      </footer>
    </div>
  </body>
</html>
              
            
!

CSS

              
                /*****************************
GENERAL
******************************/


@charset "utf-8";
/* CSS Document */

	body {
		font-family: 'Open Sans', sans-serif;
	}

	#wrapper {
	max-width:940px;
	margin: 0 auto;
	padding: 0 5%;
	}

	a {
	text-decoration: none
	}

	img{
		max-width: 100%;
	}



/*****************************
HEADING
******************************/

header {
	float: left;
	margin: 0 0 30px 0;
	padding: 5px 0 0 0;
	width: 100%;
}

	#logo {
	text-align: center;
	margin: 0;
	}
	h1{
		font-family: 'Changa One', sans-serif;	
		margin: 15px 0;
		font-size: 1.75em;
		font-weight: normal;
		line-height: 0.8em;
	}
	
	h2 {
		font-size: 0.75em;
		margin: -5px 0 0;
		font-weight: normal;
	}



/*****************************
NAVIGATION
******************************/

	 nav {
		 text-align: center;
		 padding: 10px 0;
		 margin: 20px 0 0;
	 }
	 nav ul{
		 list-style: none;
		 margin: 0 10px;
		 padding: 0;
	 }
	 
	 nav li {
		 display: inline-block;
	 }
	 
	 nav a {
		 font-weight: 800;
		 padding: 15px 10px;
	 }
	 
	 
	 

/*****************************
FOOTER
******************************/

	footer	{
		font-size: 0.75em;
		text-align: center;
		clear: both;
		padding-top: 50px;
		color: #ccc;
	}

.social-icon{
	width: 20px;
	height: 20px;
	margin: 0 5px;
}


/*****************************
PAGE: TENANT
******************************/

#gallery {
	margin: 0;
	padding: 0;
	list-style: none;
}

#gallery li{
		float: left;
		width: 45%;
		margin: 2.5%;
		background-color: #f5f5f5;
		color: #bdc3c7;
	}

#gallery li a p {
	margin: 0;
	padding: 5%;
	font-size: 0.75em;
	color: #bdc3c7
}



/*****************************
COLOURS
******************************/

/*site body*/
	body {
		background-color: #fff;
		color: #999;
		}

/*blue header*/
	header {
	background: rgb(0,124,176);
	border-color: rgb(0,178,211);
	}
		
/*nav background on mobil*/	
	nav{
		background: rgb(0,178,211);
	}
	
/*logo text*/
	h1, h2{
		color:	#fff;
	}

/*links*/
a{
	color: rgb(0,124,176);
}

/*nav link*/
	nav a, nav a:visited {
		color:rgb(255,255,255);
	}
/*selected nav link*/
	nav a.selected, nav a:hover {
		color: rgb(0,124,176);
		}
              
            
!

JS

              
                
              
            
!
999px

Console