Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <head>
		<meta charset="UTF-8" />
		<title>X - company</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0"> 
		<meta name="description" content="" />
		<meta name="keywords" content="" />
		<meta name="author" content="hellowrld" />
	</head>
	<body>
		<div id="home" class="content">
			<h2>About</h2>
			<p>X - company is commited to delivering innovative products to the marketplace. It is the number one priority of every GENECRAFT associate to ensure that our breakthroughs in technology, quality and value will result in complete customer satisfaction.</p>
      <h3>Our profile</h3>
			<p></p>
      <ul style="color:white">
        <li>PCR and PCR-based technologies;</li>
        <li>cDNA technologies;</li>
        <li>gene analysis;</li>
        <li>and nucleic acid chemistry.</li>
      </ul>
      <br>
			<p>Recently, the company has released a number of innovative products. The list of restriction enzymes offered by GeneCraft® includes some unique isoschizomeres, not provided by other suppliers. Several tools and kits for molecular biology are also offered.</p>
		</div>
				<div id="samples" class="panel">
			<div class="content">
				<h2>Free Samples</h2>
				<p>Some really nice portfolio shots:</p>
			</div>
		</div>
		<div id="offers" class="panel">
			<div class="content">
				<h2>Special Offers</h2>
				<p>Some really nice portfolio shots:</p>
			</div>
		</div>
		<div id="contact" class="panel">
			<div class="content">
				<h2>Contacts</h2>
        <p>When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane.</p>
				<p>Pityful a rethoric question ran over her cheek, then she continued her way. On her way she met a copy.</p>
			</div>
		</div>
    <div id="products" class="panel">
      <div class "content">
        <h2>Prod<h2>
      </div>
    </div>
		<div id="header">
      <h1 class="logo">/ f .<span class="logo_text">dev.design</span></h1>
			<ul id="navigation">
        <li><a id="link-home" href="#home" class="button-1">About</a></li>
        <li><a id="link-samples" href="#samples" class="button-1">My works</a></li>
				<li><a id="link-offers" href="#offers" class="button-1">Skills</a></li>
				<li><a id="products"href="#products" class="button-1">Links</a></li>
				<li><a id="link-contact" href="#contact" class="button-1">Contacts</a></li>
			</ul>
		</div>
	</body>
</html>
              
            
!

CSS

              
                html, body {
	height:100%;
}
@import url('https://fonts.googleapis.com/css?family=Montserrat|Orbitron');
body {
	width: 100%;
	background: #005CBF;
	overflow-x: hidden;
	overflow-y: auto;
}
.logo_text {
  font-family:Montserrat;
  font-size:0.5em;
  color:#fff;
}
#header{
	position: absolute;
	z-index: 2000;
	width: 100%;
	top:0px;
}
#header h1{
	font-size: 30px;
  font-family:Orbitron;
	font-weight: 400;
	text-transform: uppercase;
	color: rgba(255,255,255,0.9);
	text-shadow: 0px 1px 1px rgba(0,0,0,0.3);
	padding: 20px;
	background: #000;
}
#navigation {
	margin-top: 20px;
	width: 235px;
	display:block;
	list-style:none;
	z-index:3;
}

.content{
	right: 40px;
	left: 280px;
	top: 50px;
	position: absolute;
	padding-bottom: 0px;
}
.content h2{
	font-size: 80px;
  font-family:Orbitron;
	padding: 0px 0px 0px 0px;
	margin-top: 52px;
	color: #fff;
	color: rgba(255,255,255,0.9);
	text-shadow: 0px 1px 1px rgba(0,0,0,0.3);
}
h3 {
  color:#fff;
}
.content p{
	font-size: 18px;
	padding: 10px;
	line-height: 24px;
	color: #fff;
	display: inline-block;
	padding: 10px;
	margin: 3px 0px;
}
.panel{
	width: 100%;
	min-height: 100%;
	position: absolute;
	background-color: #000;
	box-shadow: 4px -4px 4px rgba(0,0,0,0.2);
	margin-left: -200%;
	z-index:1;
	-webkit-transition: all .7s ease-in-out;
	-moz-transition: all .7s ease-in-out;
	-o-transition: all .7s ease-in-out;
	-ms-transition: all .7s ease-in-out;
	transition: all .7s ease-in-out;
}
.panel:target{
	margin-left: 0%;
	background-color: #005CBF;
}

#home:target ~ #header #navigation #link-home,
#portfolio:target ~ #header #navigation #link-portfolio,
#about:target ~ #header #navigation #link-about,
#contact:target ~ #header #navigation #link-contact{
	color: #fff;
}

.button-1{
  font-family:Montserrat;
  display: inline-block;
  padding: 20px 40px;
  margin: 10px 0;
  position: relative;
  color: #fff;
  border: 1px solid #fff;
  color: #fff;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.button-1:before{
  font-family:Montserrat;
  content: "";
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background-color: #007CBF;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.button-1:hover{
  color: #fff;
}

.button-1:hover:before{
  left: 0;
}

/* reset */
*, *::after, *::before {
  box-sizing: border-box;
}

* {
  font: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
              
            
!

JS

              
                
              
            
!
999px

Console