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-US">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width">
		<title>LearningWordpress </title>
				<script type="text/javascript">
			window._wpemojiSettings = {"baseUrl":"http:\/\/s.w.org\/images\/core\/emoji\/72x72\/","ext":".png","source":{"concatemoji":"http:\/\/localhost:8888\/bl\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.4.1"}};
			!function(a,b,c){function d(a){var c,d=b.createElement("canvas"),e=d.getContext&&d.getContext("2d");return e&&e.fillText?(e.textBaseline="top",e.font="600 32px Arial","flag"===a?(e.fillText(String.fromCharCode(55356,56806,55356,56826),0,0),d.toDataURL().length>3e3):"diversity"===a?(e.fillText(String.fromCharCode(55356,57221),0,0),c=e.getImageData(16,16,1,1).data.toString(),e.fillText(String.fromCharCode(55356,57221,55356,57343),0,0),c!==e.getImageData(16,16,1,1).data.toString()):("simple"===a?e.fillText(String.fromCharCode(55357,56835),0,0):e.fillText(String.fromCharCode(55356,57135),0,0),0!==e.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag"),unicode8:d("unicode8"),diversity:d("diversity")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag&&c.supports.unicode8&&c.supports.diversity||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<style type="text/css">
img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}
</style>
<link rel='stylesheet' id='open-sans-css'  href='https://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&#038;subset=latin%2Clatin-ext&#038;ver=4.4.1' type='text/css' media='all' />
<link rel='stylesheet' id='dashicons-css'  href='http://localhost:8888/bl/wp-includes/css/dashicons.min.css?ver=4.4.1' type='text/css' media='all' />
<link rel='stylesheet' id='admin-bar-css'  href='http://localhost:8888/bl/wp-includes/css/admin-bar.min.css?ver=4.4.1' type='text/css' media='all' />
<link rel='stylesheet' id='bbp-default-css'  href='http://localhost:8888/bl/wp-content/plugins/bbpress/templates/default/css/bbpress.css?ver=2.5.8-5815' type='text/css' media='screen' />
<link rel='stylesheet' id='style-css'  href='http://localhost:8888/bl/wp-content/themes/customdirectory/style.css?ver=4.4.1' type='text/css' media='all' />
<script type='text/javascript' src='http://localhost:8888/bl/wp-includes/js/jquery/jquery.js?ver=1.11.3'></script>
<script type='text/javascript' src='http://localhost:8888/bl/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
<link rel='https://api.w.org/' href='http://localhost:8888/bl/wp-json/' />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost:8888/bl/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost:8888/bl/wp-includes/wlwmanifest.xml" /> 
<meta name="generator" content="WordPress 4.4.1" />
<style type="text/css" media="print">#wpadminbar { display:none; }</style>
<style type="text/css" media="screen">
	html { margin-top: 32px !important; }
	* html body { margin-top: 32px !important; }
	@media screen and ( max-width: 782px ) {
		html { margin-top: 46px !important; }
		* html body { margin-top: 46px !important; }
	}
</style>
	</head>
	
	<body class="home blog logged-in admin-bar no-customize-support" >
		
		<div class="container">
		
		<!-- site-header -->
		<header class="site-header">
			<h1><a href="http://localhost:8888/bl">LearningWordpress </a></h1>
			<h5>Customizing a Wordpress Theme  </h5>
			
			<nav class="site-nav">  
				
								
				<div class="menu-primary-menu-links-container"><ul id="menu-primary-menu-links" class="menu"><li id="menu-item-38" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-38"><a href="http://localhost:8888/bl/about-us/">About us</a></li>
<li id="menu-item-39" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-39"><a href="http://localhost:8888/bl/treatments/">Treatments</a></li>
<li id="menu-item-40" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-40"><a href="http://localhost:8888/bl/sample-page/">Directory</a></li>
</ul></div>			
			</nav>
			
		</header><!-- /site-header -->		
		<article class="post">
			<h2><a href="http://localhost:8888/bl/2016/01/20/clinica-asmed-dr-koray-erdogan-estambul-turquia/">Segundo post</a></h2>
			<p>Contenido del segundo post</p>
		</article>
		
				
		<article class="post">
			<h2><a href="http://localhost:8888/bl/2016/01/20/hello-world/">Hello world!</a></h2>
			<p>Welcome to WordPress. This is your first post. Edit or delete it, then start writing!</p>
		</article>
		
			<footer class="site-footer">
	
		<nav class="site-nav">  
			
								
				<div class="menu-footer-menu-links-container"><ul id="menu-footer-menu-links" class="menu"><li id="menu-item-51" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-51"><a href="http://localhost:8888/bl/faq-2/">FAQ</a></li>
<li id="menu-item-52" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-52"><a href="http://localhost:8888/bl/privacy-policy/">Privacy policy</a></li>
<li id="menu-item-53" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-53"><a href="http://localhost:8888/bl/faq/">Terms &#038; Conditions</a></li>
<li id="menu-item-54" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-54"><a href="http://localhost:8888/bl/contact/">Contact</a></li>
</ul></div>			
			</nav>
	
		<p>LearningWordpress - &copy; 2016</p>
	</footer>
	
	</div><!-- container -->
	
	<script type='text/javascript' src='http://localhost:8888/bl/wp-includes/js/admin-bar.min.js?ver=4.4.1'></script>
<script type='text/javascript' src='http://localhost:8888/bl/wp-content/plugins/bbpress/templates/default/js/editor.js?ver=2.5.8-5815'></script>
<script type='text/javascript' src='http://localhost:8888/bl/wp-includes/js/wp-embed.min.js?ver=4.4.1'></script>
	<script type="text/javascript">
		(function() {
			var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)');

			request = true;

			b[c] = b[c].replace( rcs, ' ' );
			b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs;
		}());
	</script>
			<div id="wpadminbar" class="nojq nojs">
							<a class="screen-reader-shortcut" href="#wp-toolbar" tabindex="1">Skip to toolbar</a>
						<div class="quicklinks" id="wp-toolbar" role="navigation" aria-label="Toolbar" tabindex="0">
				<ul id="wp-admin-bar-root-default" class="ab-top-menu">
		<li id="wp-admin-bar-wp-logo" class="menupop"><a class="ab-item"  aria-haspopup="true" href="http://localhost:8888/bl/wp-admin/about.php"><span class="ab-icon"></span><span class="screen-reader-text">About WordPress</span></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-wp-logo-default" class="ab-submenu">
		<li id="wp-admin-bar-about"><a class="ab-item"  href="http://localhost:8888/bl/wp-admin/about.php">About WordPress</a>		</li></ul><ul id="wp-admin-bar-wp-logo-external" class="ab-sub-secondary ab-submenu">
		<li id="wp-admin-bar-wporg"><a class="ab-item"  href="https://wordpress.org/">WordPress.org</a>		</li>
		<li id="wp-admin-bar-documentation"><a class="ab-item"  href="https://codex.wordpress.org/">Documentation</a>		</li>
		<li id="wp-admin-bar-support-forums"><a class="ab-item"  href="https://wordpress.org/support/">Support Forums</a>		</li>
		<li id="wp-admin-bar-feedback"><a class="ab-item"  href="https://wordpress.org/support/forum/requests-and-feedback">Feedback</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-site-name" class="menupop"><a class="ab-item"  aria-haspopup="true" href="http://localhost:8888/bl/wp-admin/">LearningWordpress</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-site-name-default" class="ab-submenu">
		<li id="wp-admin-bar-dashboard"><a class="ab-item"  href="http://localhost:8888/bl/wp-admin/">Dashboard</a>		</li></ul><ul id="wp-admin-bar-appearance" class="ab-submenu">
		<li id="wp-admin-bar-themes"><a class="ab-item"  href="http://localhost:8888/bl/wp-admin/themes.php">Themes</a>		</li>
		<li id="wp-admin-bar-menus"><a class="ab-item"  href="http://localhost:8888/bl/wp-admin/nav-menus.php">Menus</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-customize" class="hide-if-no-customize"><a class="ab-item"  href="http://localhost:8888/bl/wp-admin/customize.php?url=http%3A%2F%2Flocalhost%3A8888%2Fbl%2F">Customize</a>		</li>
		<li id="wp-admin-bar-comments"><a class="ab-item"  href="http://localhost:8888/bl/wp-admin/edit-comments.php" title="0 comments awaiting moderation"><span class="ab-icon"></span><span id="ab-awaiting-mod" class="ab-label awaiting-mod pending-count count-0">0</span></a>		</li>
		<li id="wp-admin-bar-new-content" class="menupop"><a class="ab-item"  aria-haspopup="true" href="http://localhost:8888/bl/wp-admin/post-new.php"><span class="ab-icon"></span><span class="ab-label">New</span></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-new-content-default" class="ab-submenu">
		<li id="wp-admin-bar-new-post"><a class="ab-item"  href="http://localhost:8888/bl/wp-admin/post-new.php">Post</a>		</li>
		<li id="wp-admin-bar-new-media"><a class="ab-item"  href="http://localhost:8888/bl/wp-admin/media-new.php">Media</a>		</li>
		<li id="wp-admin-bar-new-page"><a class="ab-item"  href="http://localhost:8888/bl/wp-admin/post-new.php?post_type=page">Page</a>		</li>
		<li id="wp-admin-bar-new-forum"><a class="ab-item"  href="http://localhost:8888/bl/wp-admin/post-new.php?post_type=forum">Forum</a>		</li>
		<li id="wp-admin-bar-new-topic"><a class="ab-item"  href="http://localhost:8888/bl/wp-admin/post-new.php?post_type=topic">Topic</a>		</li>
		<li id="wp-admin-bar-new-reply"><a class="ab-item"  href="http://localhost:8888/bl/wp-admin/post-new.php?post_type=reply">Reply</a>		</li>
		<li id="wp-admin-bar-new-user"><a class="ab-item"  href="http://localhost:8888/bl/wp-admin/user-new.php">User</a>		</li></ul></div>		</li></ul><ul id="wp-admin-bar-top-secondary" class="ab-top-secondary ab-top-menu">
		<li id="wp-admin-bar-search" class="admin-bar-search"><div class="ab-item ab-empty-item" tabindex="-1"><form action="http://localhost:8888/bl/" method="get" id="adminbarsearch"><input class="adminbar-input" name="s" id="adminbar-search" type="text" value="" maxlength="150" /><label for="adminbar-search" class="screen-reader-text">Search</label><input type="submit" class="adminbar-button" value="Search"/></form></div>		</li>
		<li id="wp-admin-bar-my-account" class="menupop with-avatar"><a class="ab-item"  aria-haspopup="true" href="http://localhost:8888/bl/wp-admin/profile.php">Howdy, root<img alt='' src='http://0.gravatar.com/avatar/6a0602837a0dba18bff03d09125b2233?s=26&#038;d=mm&#038;r=g' srcset='http://0.gravatar.com/avatar/6a0602837a0dba18bff03d09125b2233?s=52&amp;d=mm&amp;r=g 2x' class='avatar avatar-26 photo' height='26' width='26' /></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-user-actions" class="ab-submenu">
		<li id="wp-admin-bar-user-info"><a class="ab-item" tabindex="-1" href="http://localhost:8888/bl/wp-admin/profile.php"><img alt='' src='http://0.gravatar.com/avatar/6a0602837a0dba18bff03d09125b2233?s=64&#038;d=mm&#038;r=g' srcset='http://0.gravatar.com/avatar/6a0602837a0dba18bff03d09125b2233?s=128&amp;d=mm&amp;r=g 2x' class='avatar avatar-64 photo' height='64' width='64' /><span class='display-name'>root</span></a>		</li>
		<li id="wp-admin-bar-edit-profile"><a class="ab-item"  href="http://localhost:8888/bl/wp-admin/profile.php">Edit My Profile</a>		</li>
		<li id="wp-admin-bar-logout"><a class="ab-item"  href="http://localhost:8888/bl/wp-login.php?action=logout&#038;_wpnonce=c3d2e121a9&#038;redirect_to=http%3A%2F%2Flocalhost%3A8888%2Fbl%2F%3Floggedout%3Dtrue">Log Out</a>		</li></ul></div>		</li></ul>			</div>
						<a class="screen-reader-shortcut" href="http://localhost:8888/bl/wp-login.php?action=logout&#038;_wpnonce=c3d2e121a9&#038;redirect_to=http%3A%2F%2Flocalhost%3A8888%2Fbl%2F%3Floggedout%3Dtrue">Log Out</a>
					</div>

			</body>
</html>
              
            
!

CSS

              
                
body{
	font-family: Arial, sans-serif ;
	font-size: 14px;
	color: #333;
}

a:link,
a:visited{
	color: #006ec3;
}

p{
	line-height: 1.65em;
	
}

/* General Layout */
div.container {
	max-width: 920px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

article.post{
	border-bottom: 2px dotted #bbbbbb;
}

article.post:last-of-type {
	border-bottom:none;
}

/* Header */

.site-header{
	border-bottom: 2px solid #999;
	margin-top: 100px;
}

/* Footer */
.site-footer{
	margin-top: 30px;
	border-top: 2px solid #999;
}

/* Navigation menus */

.site-nav ul {
	margin: 0;
	padding: 0;
}

.site-nav ul: before, .site-nav ul:after { content: ""; display: table; }
.site-nav ul: after { clear: both; }
.site-nav ul { *zoom: 1; }

.site-nav ul li {
	list-style: none;
	float: left;
	float: top;
}


/* Site Header Menu */

.site-header nav ul li a:link,
.site-header nav ul li a:visited {
	display: block;
	padding: 10px 18px;
	border: 1px solid #BBB;
	border-bottom: none;
}









              
            
!

JS

              
                
              
            
!
999px

Console