123

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 Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <table>
  <caption>Statement Summary</caption>
  <thead>
    <tr>
      <td data-label="Account">お名前</td>
      <td data-label="Due Date"><input size="20" type="text" name="お名前" placeholder="Sam Sample"/> ※ required</td>
    </tr>
    <tr>
      <td scope="row" data-label="Account">メールアドレス</td>
      <td data-label="Due Date"><input size="20" type="text" name="Email" placeholder="info@infoinfo.co.jp"/> ※ required</td>
    </tr>
    <tr>
      <td scope="row" data-label="Account">Where did you know about this site ?</td>
      <td data-label="Due Date"><input name="サイトを知ったきっかけ[]" type="checkbox" value="友人・知人" /> From friends </br >
          <input name="サイトを知ったきっかけ[]" type="checkbox" value="検索エンジン" /> Google or another search engine</td>
    </tr>
    <tr>
      <td scope="row" data-label="Acount">Message</td>
      <td data-label="Due Date"><textarea name="message" cols="30" rows="5"></textarea></td>
    </tr>
      <tr>
       <td colspan="2" style="text-align:center;"><input type="submit" class="square_btn" value="Submit" align="center"><input type="reset" class="reset_btn" value="reset" />
       </td>
      </tr>
  </tbody>
</table>
            
          
!
            
              body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.25;
  background-position: center;
  width: 100%;  
}
table {
  width: 60%;  
  margin: 0 auto;  
  border: 1px solid #ccc;
  border-collapse: collapse;
  padding: 0;
  table-layout: fixed;
}
table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}
table tr {
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}
table th,
table td {
  padding: .625em;
  text-align: left;
  border: 1px solid #ddd;
}
table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}
@media screen and (max-width: 600px) {
  table {
    border: 0;
  }
  table caption {
    font-size: 1.3em;
  }
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  table td:before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  table td:last-child {
    border-bottom: 0;
  }
}
  
 /* 送信ボタン */
.square_btn {
   margin-right: 15px;
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
    background: #668ad8;/*ボタン色*/
    color: #668ad8;/*ボタン色と同じに*/
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
    border-bottom: solid 3px #627295;
    border-radius: 3px;/*角の丸み*/
    font-weight: bold;
    text-shadow: -1px -1px rgba(255, 255, 255, 0.44), 1px 1px rgba(0, 0, 0, 0.38);
  }
 
.reset_btn {
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
    background: #ff6347;
    color: #ff6347;/*ボタン色と同じに*/
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
    border-bottom: solid 3px #627295;
    border-radius: 3px;/*角の丸み*/
    font-weight: bold;
    text-shadow: -1px -1px rgba(255, 255, 255, 0.44), 1px 1px rgba(0, 0, 0, 0.38);
}  
.square_btn:active{/*ボタンを押したとき*/
    -ms-transform: translateY(4px);
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
    border-bottom: none;
}

            
          
!
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.

Console