Pen Settings



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


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


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.


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.


                  <div class="page">    
    <div class="header"> CONTACT FORM </div>

    <form class="form"> 
      <input name="name" type="text" class="name feedback-input" placeholder="Name"/>
      <input name="email" type="text" class="email feedback-input" placeholder="Email" />
      <textarea name="text" class="message feedback-input" placeholder="Message"></textarea>    
      <input class="submit-button" type="submit" value="SUBMIT">


  <p class="name_def definition">A personal name identifies a specific unique and identifiable individual person, and may or may not include a middle name.</p>
  <p class="email_def definition">An email address identifies an email box to which email messages are delivered.</p>
  <p class="message_def definition">A message is a discrete unit of communication intended by the source for consumption by some recipient or group of recipients.</p>



                body {
  text-align: center;
  background-color: #FFC6D4;

.page {
	  width: 300px;
  background: white;
  border: 20px solid #F1A3B6;
  border-radius: 20px;
  margin: auto;
  margin-top: 8%;

.header {
  font-family:  Helvetica, Arial, sans-serif;
  font-size: 28px;
  color: #F1A3B6;
  margin: 40px 0 15px 0;
  display: inline-block;

.feedback-input {
  	font-family: Helvetica, Arial, sans-serif;
  color: #F1A3B6;
	  font-size: 18px;
	  line-height: 22px;
	  padding: 10px;
  border: 1px solid white;
  border-bottom: 1px dotted #F1A3B6;
  width: 90%;
	  -webkit-box-sizing: border-box;
	  -moz-box-sizing: border-box;
	  -ms-box-sizing: border-box;
	  box-sizing: border-box;  

	  font-family: Helvetica, Arial, sans-serif;
	  cursor: pointer;
  background-color: white;
	  color: #F1A3B6;
  margin: 25px 0 30px 0;
  padding: 10px 0;
  width: 130px;
  border: 2px solid #F1A3B6;
  border-radius: 25px;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

textarea {
    height: 180px;
    line-height: 150%;

	  background-color: #A3F1AE;
  border: 2px solid #A3F1AE;
  color: #4EA45B;
  font-weight: 700;

.definition {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  padding: 10px;
  border: 10px solid #F1A3B6;
  border-radius: 10px;
  background: white;
  color: #9B9B9B;
  position: absolute;

  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 70%;
  top: 100px;
  border: 25px solid;
  border-color: #F1A3B6 transparent transparent #F1A3B6;

.name_def {
  width: 180px;
  top: 40%;
  left: 7%;

.email_def {
  width: 120px;
  top: 45%;
  left: 75%;

.message_def {
  width: 190px;
  top: 17%;
  left: 67%;

.feedback-input:focus {
  outline: none;

@media only screen and (max-width : 710px) {
  .name_def {
    left: 40%;
  .email_def {
    left: 15%;
  .message_def {
    left: 42%;



  function myFunction($myVar, $myVar_def) {
    $myVar.hover(function() {

  myFunction($(".name"), $(".name_def"));
  myFunction($(".email"), $(".email_def"));
  myFunction($(".message"), $(".message_def"));