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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

            
              <html>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css">

  <!-- code for arrow, page-up -->
<!-- Return to Top -->
<a href="javascript:" id="return-to-top"><i class="icon-chevron-up"></i></a>
<!-- ICON NEEDS FONT AWESOME FOR CHEVRON UP ICON -->
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
 <!-- new -->

  
  
  
<body>
  <div id="generalValuesContactPage" class="container-fluid text-center">
  
    <h1 style="font-weight: bold; font-size: 42px; font-family: 'Roboto'; color: #ffffff; text-align: center; padding-top:100px">Contact us</h1>

    <p style="font-family: 'Roboto'; text-align: center; color: #ffffff; padding-bottom: 40px">How to reach us</p>  

<!------------------------------------ 
-                                    -
-       Apply for Contact            -
-                                    -
------------------------------------->
    
    
    
     <div id="error"></div>  
     
     <form id="validationForm">
           <div class="row">
           <input id="Name" class="inputStyle" name="Name" placeholder="Your Name"/>  
           <input name="email" id="email" class="inputStyle" placeholder="Your Email"/>
           <input name="Subject" id="Subject" class="inputStyle" placeholder="Subject"/>
           <!-- old one
         <input type="textarea" name="TellUs" id="textarea" placeholder="Tell us!"/>
            -->
           <textarea name="TellUs" id="textarea" placeholder="Tell us!" style="line-height: 16px; font-size: 12px; transition: none; "></textarea>
           <br><br>
           <input id="submitBtn" type="submit" value="Send">
             </div> <!-- -end of row -->
         </form>
 
<!------------------------------------ 
-                                    -
-       Apply for BETA               -
-                                    -
------------------------------------->
    
    
    <!-- it's the some with the main-page, I just copy-paste it -->
    <div id="paddingTopBottomBeta" class="row backgroundColorBlue paddingLeftRightBlue"> <!-- part: Apply for Beta -->
      
    <div style="text-align: center;">
		<button style="background-color: rgb(255, 255, 255); border: 3px solid rgb(255, 255, 255); border-radius: 48px; color: rgb(14, 127, 235); font-family: Roboto; font-size: 34px; font-weight: bold; padding: 26px 41px; text-decoration: none; cursor: pointer;"> Apply for BETA</button>
	</div>
	<h2 style="text-align: center; font-family: 'Roboto'; font-size: 42px; color: #ffffff ; padding-top:20px">YOUR OPINION COUNTS.</h2>
      
</div> <!-- end of part: Apply for Beta -->

    
<!------------------------------------ 
-                                    -
-             Partners               -
-                                    -
------------------------------------->
   <div id="paddingTopBottomPreFooter" class="row backgroundColorGrey paddingLeftRightBlue">
     
      
       <a href="http://www.deuniversiteit.nl/" target="_blank"><img class="img-Sponsor" src="https://oviewapp.com/wp-content/uploads/2016/07/uiiiiiii-1.png" /></a> 
     
       <a href="https://www.liveondemand.com/" target="_blank"><img class="img-Sponsor" src="https://oviewapp.com/wp-content/uploads/2016/07/Livvvvvvv.png" /></a>     
         
       <a href="http://www.monkeytree.house/" target="_blank"><img class="img-Sponsor" src="https://oviewapp.com/wp-content/uploads/2016/07/MONKAYY.png" /></a>
    
       <a href="https://www.civocracy.org/" target="_blank"><img class="img-Sponsor" src="https://oviewapp.com/wp-content/uploads/2016/07/Civvvvv.png" /></a>
    
       <a href="https://tr.im/Sapient" target="_blank"><img class="img-Sponsor" src="http://i1356.photobucket.com/albums/q729/eleftheria_b/Sapient%20and%20Oview/sapient_footer-%20transparent_zpsjgftogax.png" /></a>
    
       <a href="https://soundcloud.com/social-media-2" target="_blank"><img class="img-Sponsor" src="https://oviewapp.com/wp-content/uploads/2016/07/SONICCCC-1.png" /></a>
          
    </div>
      
    <!-- end of duplication from main-page -->

  </div> <!-- end of container-fluid -->
 </body>
</html>
            
          
!
            
              /* css for Contact page */
/* main idea from here: https://codepen.io/rexkirby/pen/Fdnlz?editors=0100 */

#generalValuesContactPage {
  background-color: rgba(14,127,235,1);  
  color:  rgba(14,127,235,1); /* blue */
  font-family: 'Roboto';
  line-height: 26px;
}

/* Style the contact form */
input {
 width: 75%;
 height:48px;
 padding-left:5px;
 border: 1px solid grey;
}

.inputStyle {
    background-color: rgba(248,248,248,1); /* almost white */
    border-width: 0px;
    border-style: solid;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
    color: rgba(14,127,235,1); /* blue */ 
    font-family: Roboto;
    font-size: 12px;
    line-height: 16px;
    font-style: normal;
    font-weight: 400;
    padding-top: 16px;
    padding-bottom: 16px;
    margin-top: 0px;
    margin-bottom: 25px;
}

#textarea{
    margin: 0 auto;
    width: 75%;
    height: 192px;
    padding-left: 5px;
    padding-top: 17px;
    border: 0;
    border-radius: 5px;
    resize: none;
    font-size: 13px;
    line-height: 17px;
    background-color: #fff;
    color: rgba(14,127,235,1);
    font-family: Roboto;
    font-weight: 400;
  
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
}

#submitBtn{
    background-color: #ffffff;
    border-color: #ffffff;
    border-width: 3px;
    border-top-left-radius: 44px;
    border-top-right-radius: 44px;
    border-bottom-right-radius: 44px;
    border-bottom-left-radius: 44px;
    color: #0e7feb;
    font-family: Roboto;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    height: 42px; /* was 32px*/
    width: 105px ;
    line-height: 32px; 
}

#submitBtn:hover {
  background-color: #0e7feb ; 
  color: #ffffff ;
}

/************************************
 *   Make contact form responsive   *
 *   or at least try to...          *
 ***********************************/





/* 
 * css from main-page 
 */

#paddingTopBottomBeta{
  padding-top: 300px; 
  padding-bottom: 300px;
}
.backgroundColorBlue {
  background-color: rgba(14,127,235,1) !important; /* color: blue */ 
}
#paddingTopBottomPreFooter{
  padding-top: 30px;
  padding-bottom: 30px;
}
.paddingLeftRightBlue {
  padding-left: 107px;
  padding-right: 107px;
}
.backgroundColorGrey {
  background-color: rgb(95, 95, 95) !important; /* color: grey */ 
}

/* 
 * end of css from main-page 
 */



/***********************************
 * Resoponsive images in pre-Footer *
***********************************/
.img-Sponsor {
max-width:100%;
height: auto;
}
/* For small devices (e.g. smartphones) */
@media (min-width: 220px) {
  .img-Sponsor {
    width: 64%;
  }
}
/* For medium devices (e.g. tablets) */
@media (min-width: 420px) {
  .img-Sponsor {
    width: 48%;
  }
}
/* For large devices (e.g. desktops) */
@media (min-width: 760px) {
  .img-Sponsor {
    width: 16%; /* 6 columns */
  }
}



/* code for arrow, page-up*/
#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* I can add here some background-color */
    border: 1px solid white;

    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i { /* inside arrow */
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background:  white /*rgba(0, 0, 0, 0.9)*/;
}
#return-to-top:hover i { /* inside arrow */
    color: rgb(95, 95, 95); /* grey */
    top: 5px;
}

/* end of code for arrow, page-up*/


            
          
!
            
              /* js code for the validation form 
 *  ---- not in use ----- 
 */
$("#validationForm").submit(function(event) {

 var errorMessage="";
 event.preventDefault();

 function isValidEmailAddress(emailAddress) {
 var pattern = new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([az]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i);
  return pattern.test(emailAddress);
 };

 if (!isValidEmailAddress($("#email").val())) {
    errorMessage="<br />Please enter avalid email address";
 }

 });
               


/* js code for the arrow */
// ===== Scroll to Top ==== 
$(window).scroll(function() {
    if ($(this).scrollTop() >= 50) {        // If page is scrolled more than 50px
        $('#return-to-top').fadeIn(200);    // Fade in the arrow
    } else {
        $('#return-to-top').fadeOut(200);   // Else fade out the arrow
    }
});
$('#return-to-top').click(function() {      // When arrow is clicked
    $('body,html').animate({
        scrollTop : 0                       // Scroll to top of body
    }, 500);
});
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console