cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <!doctype html><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=description content=""><meta name=viewport content="width=device-width,initial-scale=1"><title>Lorem Ipsum Lorem Ipsum</title><meta name=msapplication-tap-highlight content=no><link rel=manifest href=manifest.json><meta name=mobile-web-app-capable content=yes><meta name=application-name content="Web Starter Kit"><link rel=icon sizes=192x192 href=images/touch/chrome-touch-icon-192x192.png><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=apple-mobile-web-app-title content=WebStarter><link rel=apple-touch-icon href=images/touch/apple-touch-icon.png><meta name=msapplication-TileImage content=images/touch/ms-touch-icon-144x144-precomposed.png><meta name=msapplication-TileColor content=#2F3BA2><meta name=theme-color content=#2F3BA2><link rel=stylesheet href=styles/main.css><div id=headline><header><h1>The One Day Landing Page</h1><p></header><div id=blurb><p>Download my CV <a href="https://drive.google.com/open?id=1k4duah0UnMqdUOUNr8cSSLMaCmICYdc2kYBAQuaAioE">Resume J Rohatiner</a></div><form method=post id=register><form method=post id=register><h2>Sign Up</h2><label for=name>Name</label><input name=name id=name placeholder="She Code The Web" required><label for=email>Email address</label><input type=email name=email id=email placeholder=judithrohatiner@gmail.com required><label for=tel>Telephone</label><input type=tel name=tel id=tel placeholder="(786) 587-8284" required> <input type=submit value=submit></form></form></div><div id=section1><div id=blurb-two></div><h2>This landing page is also a progressive web app</h2><p>Why is that important?</p><li>From a browser it will use the native environment of the device it is viewed on</li><ul><li>the camera<li>messaging<li>audio<li>photos</ul><li>It can be viewed on phones, tablets and desktops<li>It was made with code you can count on <a href=https://www.linkedin.com/in/shecodetheweb>by an experienced developer (JR Rohatiner)</a></li><br><div id=section2><h2></h2><p><div id=images><img src= "https://s3-us-west-2.amazonaws.com/s.cdpn.io/460875/front2.jpg" alt=""> <img src= "https://s3-us-west-2.amazonaws.com/s.cdpn.io/460875/front1.jpg" alt=""> <img src=https://s3-us-west-2.amazonaws.com/s.cdpn.io/460875/front3.jpg alt=""></div></div></div><div id=section3><h2>Why you are looking at this app today?</h2><p>Do you need a front end web developer in your organization? A speaker at your school? A volunteer to help your group? It would be my pleasure to be of service to my community in some way.<ul><li>I update and re-program computers for accessibility purposes for senior centers<li>I demonstrate programming skills as a volunteer in Public Schools<li>I mentor undergraduates engineers in the Society of Women Engineers</ul><p>I would like to do more!<table><caption><p>Visitor Data <a href=http://gs.statcounter.com/#desktop+mobile+tablet-comparison-ww-monthly-201303-201403>And Devices Used</a><thead><tr><th>City<th>Desktop visits<th>Tablet visits<th>Mobile visits</thead><col span=1><col span=1><col span=1><col span=1><tr><td><a href=http://gs.statcounter.com/#desktop+mobile+tablet-comparison-PaloAlto-monthly-201303-201403>Palo Alto</a><td>32%<td>1%<td>67%<tr><td><a href=http://gs.statcounter.com/#desktop+mobile+tablet-comparison-Redmond-monthly-201303-201403>Redmond</a><td>69%<td>13%<td>18%<tr><td><a href=http://gs.statcounter.com/#desktop+mobile+tablet-comparison-NewYork-monthly-201303-201403>New York</a><td>69%<td>9%<td>22%<tr><td><a href=http://gs.statcounter.com/#desktop+mobile+tablet-comparison-Miami-monthly-201303-201403>Miami</a><td>86%<td>4%<td>10%</table><br></div><footer><p>You can hire me<phone>786-587-8284</phone></footer><script>(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
    function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
    e=o.createElement(i);r=o.getElementsByTagName(i)[0];
    e.src='//www.google-analytics.com/analytics.js';
    r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
  ga('create','UA-52746336-1');ga('send','pageview');
  var isCompleted = {};
  function sampleCompleted(sampleName){
    if (ga && !isCompleted.hasOwnProperty(sampleName)) {
      ga('send', 'event', 'WebCentralSample', sampleName, 'completed');
      isCompleted[sampleName] = true;
    }
  }</script>
            
          
!
            
              /**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*
Note: any .css or .scss files included in the 'styles' directory
will be correctly compiled during `gulp serve` and `gulp`
 */

html,{
  font-family: 'Roboto', 'Helvetica', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
}

#headline {
  padding: 0.8em;
  color: white;
  font-family: Roboto, helvetica, arial, sans-serif;
  background-color: black;
  background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/460875/hero.jpg');
  background-size: cover;
}
a {
  color: #39b1a4;
}
a:hover a:focus{
  color: hsl(8, 70%, 54%);
}
:focus{
  color: hsl(8, 70%, 54%);
}
#headline h1 {
  font-weight: 200;
  font-size: 60px;
  line-height: 1em;
  margin-bottom: 0;
  text-transform: uppercase;
  text-shadow: 1px 1px #cfcecd;
}

#headline h2 {
  font-weight: 200;
  font-size: 30px;
  margin-top: 5px;
  text-transform: uppercase;
  text-shadow: 1px 1px #cfcecd;
}

#headline #blurb {
  font-weight: 300;
  font-size: 18px;
  text-transform: uppercase;
  color: hsl(8, 70%, 54%);
  margin-top: 10px;

}
#blurb-two{
  max-width: 40%;
}

#headline #register {
  background-color: #39b1a4;
  background-color: rgba(57,177, 164, 0.7);
  padding: 1em;
}

#headline #register h2 {
  font-weight: 100;
  padding: 0;
  margin: 0;
}

#headline #register label {
  font-size: 1.2em;
  font-weight: 200;
  padding-top: 12px;
  display: block;
}

#headline #register input {
  width: 100%;
  font-size: 18px;
  font-weight: 200;
  padding: 10px;
  box-sizing: border-box;
}

#headline #register input[type=submit] {
  background-color: hsl(8, 70%, 54%);
  color: white;
  margin-top: 20px;
  padding: 10px;
  border: none;
  box-sizing: border-box;
  font-size: 18px;
}

#section1, #section2, #section3 {
  box-sizing: border-box;
  padding: 20px;
}

#section1 h2, #section2 h2, #section3 h2  {
  margin-top: 0;
  font-size: 24px
  text-transform:uppercase;
}

#section1 {
  background-color: white;
  font-family: Roboto, sans-serif;
  font-weight: 100;
  font-size: 18px;
}

#section1 h2 {
  font-weight: 300;
  text-align: center;
  margin-bottom: 0px;
  margin-top: 20px;
}

#section1 h2 + p {
}

#section1 video {
  width: 100%;
}

#section2 {
  background-color: #e9e9e9;
  font-family: Roboto, sans-serif;
  font-weight: 100;
  font-size: 18px;
}

#section2 h2 {
  font-weight: 300;
  text-align: center;
  margin-bottom: 0px;
  margin-top: 20px;
  text-transform: uppercase;
}

#section2 h2 + p {
  text-align: center;
}

#section2 div {
  text-align: center;
}

#section2 div img {
  width: 100%;
  border-radius: 50% 50%;
  box-shadow: black 1px 1px 5px;
}

#section3 {
  background-color: #f5f5f5;
  font-family: Roboto, sans-serif;
  font-weight: 100;
  text-align: center;
  margin: auto;
}

#section3 h2 {
  font-weight: 300;
  text-align: center;
  margin-bottom: 0px;
  margin-top: 20px;
  text-transform: uppercase;
}

#section3 h2 + p {
  text-align: center;
  text-transform: uppercase;
}

#section3 figure {
  text-align: center;
}

#section3 figure figcaption {
  text-align: center;
  font-weight: 400;
}
li {
  list-style-type: none;
  line-height: 25px;
}

footer {
  font-family: Roboto, sans-serif;
  font-weight: 300;
  text-align: center;
  background-color: hsl(8, 70%, 54%);
  color: white;
  padding-bottom: 20px;
  padding-top: 20px;
  margin: 0 auto!important;

}

table {
  margin-top: 26px;
  width: 100%;
}
thead {
  font-weight: bold;
}

tbody {
  text-align: center;
}
form#register {
  border-top: 2px solid #cfcecd;
  border-left: 2px solid #cfcecd;
  border-right: 3px solid #cfcecd;
  box-shadow: 1px 1px 2px 1px#cfcecd;
  border-radius: 1px;
}

/* // [START table-css] */
@media screen and (max-width: 600px) {
  table thead {
    display: none;
  }

  table td {
    display: block;
    position: relative;
    padding-left: 50%;
    padding-top: 13px;
    padding-bottom: 13px;
    text-align: left;
    background: #e9e9e9;
    text-align: left;
  }

  table td:before {
    content: attr(data-th) " :";
    display: inline-block;
    color: #000000;
    background: #e9e9e9;
    border-right: 2px solid transparent;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 33%;
    max-height: 100%;

    font-size: 16px;
    font-weight: 300;
    padding-left: 13px;
    padding-top: 13px;
  }
}
/* // [END table-css] */

@media screen and (min-width: 600px) {
  #headline {
    padding: 20px 5%;
  }

  .container {
    margin: auto;
    max-width: 800px;
  }

  #headline #blurb {
    float: left;
    font-weight: 200;
    width: 50%;
    font-size: 18px;
    box-sizing: border-box;
    padding-right: 10px;
  }
  #blurb-two{
    max-width: 40%;
  }
  footer{
    margin: 0 auto!important;
    text-align: center!important;
  }
  /*
  div#section1 div#section2 div#section3{
    text-align: left;
  }
  */
  p #section3{
    text-align: center;
  }
 h2 #section3 {
  text-align: left;
}
 ul #section3{
  line-height: 5px;
}
  li {
    list-style-type: none;
    line-height: 25px;
  }
  #headline br {
    clear: both;
  }

  #headline #register {
    float: right;
    padding: 20px;
    width: 50%;
    box-sizing: border-box;
    font-weight: 300;
  }

  #section1 #section2, #section3 {
    box-sizing: border-box;
    padding: 10px 20% 60px 20%;
    text-align: left;
  }

  #section1 h2, #section2 h2, #section3 h2 {
    margin-top: 0;
    font-size: 60px
    text-transform: uppercase;
  }

  #section1 ul {
    box-sizing: border-box;
    float: left;
    width: 50%;
    padding-right: 1em;
  }

  #section1 video {
    box-sizing: border-box;
    width: 50%;
    float: right;
  }

  #section1 br {
    clear: both;
  }

  #section2 div img {
    width: 30%;
    margin: 1%;
    box-sizing: border-box;
    border-radius: 50% 50%;
    box-shadow: black 1px 1px 5px;
  }
}

            
          
!
            
              /*!
 *
 *  Web Starter Kit
 *  Copyright 2015 Google Inc. All rights reserved.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *    https://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License
 *
 */
/* eslint-env browser */
(function() {
  'use strict';

  // Check to make sure service workers are supported in the current browser,
  // and that the current page is accessed from a secure origin. Using a
  // service worker from an insecure origin will trigger JS console errors. See
  // http://www.chromium.org/Home/chromium-security/prefer-secure-origins-for-powerful-new-features
  var isLocalhost = Boolean(window.location.hostname === 'localhost' ||
      // [::1] is the IPv6 localhost address.
      window.location.hostname === '[::1]' ||
      // 127.0.0.1/8 is considered localhost for IPv4.
      window.location.hostname.match(
        /^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/
      )
    );

  if ('serviceWorker' in navigator &&
      (window.location.protocol === 'https:' || isLocalhost)) {
    navigator.serviceWorker.register('service-worker.js')
    .then(function(registration) {
      // updatefound is fired if service-worker.js changes.
      registration.onupdatefound = function() {
        // updatefound is also fired the very first time the SW is installed,
        // and there's no need to prompt for a reload at that point.
        // So check here to see if the page is already controlled,
        // i.e. whether there's an existing service worker.
        if (navigator.serviceWorker.controller) {
          // The updatefound event implies that registration.installing is set:
          // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#service-worker-container-updatefound-event
          var installingWorker = registration.installing;

          installingWorker.onstatechange = function() {
            switch (installingWorker.state) {
              case 'installed':
                // At this point, the old content will have been purged and the
                // fresh content will have been added to the cache.
                // It's the perfect time to display a "New content is
                // available; please refresh." message in the page's interface.
                break;

              case 'redundant':
                throw new Error('The installing ' +
                                'service worker became redundant.');

              default:
                // Ignore
            }
          };
        }
      };
    }).catch(function(e) {
      console.error('Error during service worker registration:', e);
    });
  }

  // Your custom JavaScript goes here
})();

            
          
!
999px
Loading ..................

Console