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

              
                <!-- CodePen project -->
<!DOCTYPE html>
<html lang="en">

<head>
  <link href="product.css" rel="stylesheet">
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Anton">
</head>

<header id="header">
  <img id="header-img" src="http://www.lynnamacher.com/pdf/TClogo.svg" alt="Total Control Logo"/ width=100 alt="Total Control Logo" />
  <nav id="nav-bar">
<ul>
   <li><a class="nav-link" href="#features">Features</a></li>
   <li><a class="nav-link" href="#info">Product Information</a></li>
   <li><a class="nav-link" href="#pricing">Pricing</a></li>
</ul>
  </nav>
</header>

<body>
  <h1 id="info">See more of our Product!</h1>
<div class = "productArea">
  <iframe id="video" width="860" height="515" align="middle" src="https://www.youtube.com/embed/4O9dNuiOWDg" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen> </iframe>

<features id="features">
    <p>Our Latest and Greatest product</p>
    <p>Newly created and better than ever</p>
    <p>It Slices</p>
    <p>It Dices</p>
    <p>It Will Make You Coffee</p>
    <p>It will take your Dog for a walk</p>
</features>
</div>

<pricing id="pricing">
<div class="productbox">
  <div class="product">
    <price id="pricing">
      <h3 style="text-align:center">Pricing Tables</h3>
    <p style="text-align:center">Resize the browser window to under 800px to see the mobile effect.</p>

  <div class="columns">
    <ul class="price">
    <li class="header" style="background-color:red">Red Plan</li>
    <li class="grey"><rate2>$ 200 / year</rate2></li>
    <li>10GB Storage</li>
    <li>10 Emails</li>
    <li>10 Domains</li>
    <li>1GB Bandwidth</li>
    <li class="grey"><a href="#" class="button">Sign Up</a></li>
  </ul>
</div>
      </div>
<div class="columns">
  <ul class="price">
    <li class="header" style="background-color:blue">Blue Plan</li>
    <li class="grey"><rate>$ 500 / year</rate></li>
    <li>25GB Storage</li>
    <li>25 Emails</li>
    <li>25 Domains</li>
    <li>2GB Bandwidth</li>
    <li class="blue"><a href="#" class="button">Sign Up</a></li>
  </ul>
</div>

<div class="columns">
  <ul class="price">
    <li class="header" style="background-color:green">Green Plan</li>
    <li class="grey"><rate2>$ 800 / year</rate2></li>
    <li>50GB Storage</li>
    <li>50 Emails</li>
    <li>50 Domains</li>
    <li>5GB Bandwidth</li>
    <li class="grey"><a href="#" class="button">Sign Up</a></li>
  </ul>
</div>
    </price></pricing>
    </div></div></div>
<div class="bottom"><p>test</p></div>

  <form name="form" method="post" id="form">
   <h3>Sign Up Today for more information</h3>
    <label id="email-label"><strong>E-mail:</strong> </label>
	<input type="email" name="email" id="email" required="required" placeholder="Enter your email" tabindex="1" class="input-field" accesskey="E">
  <br><br>
    <input class="button" type="submit" value="Submit" id="submit" form action="https://www.freecodecamp.com/email-submit"></div>
  </form>
  </div>
<footer>
<div class="column1"><p>123 E. North St., LA<p></div>
<div class="column2"><p>&copy; Total Control 2019</p></div>
<div class="column3"><p>(123) 456-7890</p></div>
</div>
</footer>
</body>
</html>

              
            
!

CSS

              
                html {
  margin-top: 50px;
}
/*-------NAVIGATION------------*/

.header-img {
    height: 100px;
  vertical-align: middle;
}
header {
  display: flex;
position: fixed;
background-color: green;
top: 0;
width: 100%;
z-index: 9
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  ul {

  display: inline;
  list-style: none;
}  }

nav li {
  display: inline;
float: right;
  padding: 10px;
}

a {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-decoration: none;
   color: #34c6eb;
  font-size: 1.4em;
}

#nav-bar li:hover {
  background: #fff;
}


/*-------Features---------------------*/
body {
margin-top: 50px;
}

h1 {
  text-align: center;
  font-family: Anton;
  font-size: 2.4em;
}

h3 {
  text-align: left;
  font-family: Anton;
  font-size: 2em;
  padding-top: 10px;
}

.video {
 position: absolute;
}
.productArea {
  background-color: yellow;
}
#features {
  font-family: Anton;
  font-size: 1.8em;
  text-shadow: 3px 3px #ccc;
  list-style-type: none;
  text-align: center;
  line-height: 1.4em;
  display: inline-block;
  width: 30%;
  height: 490px;
  vertical-align: middle;
  font-weight: bold;
}

/*-------PRICE BOX---------------------*/

* {
  box-sizing: border-box;
}

.columns {
  float: left;
  width: 33.3%;
  padding: 8px;
}

.price {
  font-family: Anton;
  list-style-type: none;
  border: 1px solid #eee;
  margin: 0;
  padding: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.price:hover {
  box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2)
}

.price .header {
  background-color: #111;
  color: white;
  font-size: 25px;
}

.price li {
  border-bottom: 1px solid #eee;
  padding: 20px;
  text-align: center;
}
rate {
  font-size: 3em;
}
rate2 {
  font-size: 2.5em;
}
.price .blue {
  background-color: #eee;
  font-size: 20px;
}

.bottom {
    font-size: .9em;
  color: #fff;
}
.button {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
}

@media only screen and (max-width: 800px) {
  .columns {
    all: none;
    width: 100%;
  }
#features {
    all: none;
    text-shadow: none;
  text-align: center;
    color: red;
  width: 100%;
  }
}



/*-------FOOTER---------------------*/
footer { font-size: 80%;
 display: flex;
	color: white;
	text-align: center;
	margin-top: 20px;
	padding: 10px;
	background-color: #061a9b;
	width: 100%;


footer a:link { color: white; }
footer a:visited { color: white; }
footer a:hover { color: white; }
footer a:active { color: white; }

              
            
!

JS

              
                
              
            
!
999px

Console